
14 Mar
2005
14 Mar
'05
4:29 p.m.
I see. So is BOOST_HAS_THREADS or BOOST_DISABLE_THREADS the correct macro for libraries to use? Seems like if DISABLE_THREADS is set then we could safely call the non-reentrant versions.
Use BOOST_HAS_THREADS: it's set only if the platform has threading support, the compiler is in thread safe mode, and BOOST_DISABLE_THREADS is *not* set. John.