Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2006-07-27 11:25:00


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.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk