Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-03-13 11:52:54


Jeff Garland wrote:
>
> I see. So is BOOST_HAS_THREADS or BOOST_DISABLE_THREADS the correct
> macro for libraries to use?

In theory, BOOST_HAS_THREADS is set by the config system if it detects a
multithreaded platform, and BOOST_DISABLE_THREADS is set by the user to
prevent this from happening.

In practice, BOOST_DISABLE_THREADS is being automatically set from time to
time, but I'm not sure whether one can rely on that.


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