Boost logo

Boost-Build :

From: John Maddock (john_at_[hidden])
Date: 2006-08-25 13:15:36


Rush Manbert wrote:
> If I build Boost from source and determine that BOOST_HAS_THREADS is
> defined for every file that is compiled, is the resulting library the
> multi-threaded version, or is there some other setting that matters?

Yes the flags that make your compiler generate thread safe code :-)

BOOST_HAS_THREADS should be turned on automatically by Boost.Config if your
compiler is in multi-thread mode. You shouldn't need to set it yourself: if
you do it indicates there may be a compiler option missing.

HTH, John.


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk