|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-01-24 09:10:05
From: "John Maddock" <jm_at_[hidden]>
> > Don't know about other *BSD-s but GCC on OpenBSD GCC defines
> > _POSIX_THREADS=1 when the -pthread is used. Here are the details...
>
> OK thanks, then I've disabled threading support in bsd.hpp when
> _POSIX_THREADS is not defined, let me know if this fixes things.
I think that a better solution would be to not define BOOST_HAS_THREADS
unconditionally for GCC, and rely on _MT, _REENTRANT, _POSIX_THREADS.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk