Boost logo

Boost :

From: John Maddock (john_at_[hidden])
Date: 2007-02-27 13:28:51

Prashant Thakre wrote:
> Hi,
> On HP-UX for toolset *acc*(aCC 6.13) Boost.Threads fails to build
> without the hardcoded *-mt* flag in
> RC_1_34_0/tools/build/v2/tools/acc.jam for following actions:
> 3.acc.compile.c
> 4.acc.compile.c++
> Below mentioned patch defines the macro "BOOST_HAS_THREADS" in
> boost/config/platform/hpux.hpp for toolset *acc* and does away with
> the necessity of having to hardcode *-mt* flag.

I'm wary of that, is the compiler *and* std lib really thread safe without
this? Looking at the docs here it seems that using -mt is the
only sure-fire way to ensure thread safety throughout.


Boost list run by bdawes at, gregod at, cpdaniel at, john at