Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2005-03-14 11:29:14


> 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.


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