
13 Mar
2005
13 Mar
'05
4:52 p.m.
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.