Boost logo

Boost :

From: Neal D. Becker (nbecker_at_[hidden])
Date: 2003-08-26 07:57:33


On Saturday 23 August 2003 07:18 am, John Maddock wrote:
> > One more thing: what exactly can go wrong with 1.30.0 if
> > -pthread isn't used? Is it boost specific or a general thing
> > (e.g. issues w/ respect to libstdc++)?
>
> A general thing - without this then:
>
> Your std lib is not thread safe.
> Your C lib is not thread safe.
> g++ will not emit thread safe exception handling code.
>
> Thus while for C programs enabling thread support is just a question of
> linking to the right libraries, for C++ you also need to ensure that the
> compiler "knows" that you want thread safe code.
>

You mean I can't just run bjam with no options and get the libs built with
thread support? I need to add a command-line option?

I am updating my RPM package for 1.30.2, and I'd like to make sure this is
correct, and I will forward this to Redhat (they now have a boost rpm).




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