
27 Jul
2006
27 Jul
'06
3:25 p.m.
Julien Delacroix wrote:
Maybe it will be necessary to check aCC version and set BOOST_DISABLE_THREADS for old aCC version that do not have thread suport...
It appears the problem is that unistd.h doesn't define _POSIX_THREADS so our config system doesn't detect threading support when you build with -mt. Unless anyone objects I'll add a #define BOOST_HAS_PTHREADS to hpux.hpp which will turn on threading support only when the compiler is used with -mt (which defines _REENTRANT which then gets detected by the config system etc). John.