Boost logo

Boost-Build :

Subject: Re: [Boost-build] Default threading model in Linux
From: Steve M. Robbins (steve_at_[hidden])
Date: 2008-11-09 12:30:23

On Sun, Nov 09, 2008 at 04:16:39PM +0000, Joaquin M Lopez Munoz wrote:

> No, I'm referring to the threading model assumed when, for instance,
> building a test with
> test-suite "foo" : [ run foo.cpp ] ;
> So, threading=single is assumed here, right? That poses a
> small problem, as on the other hand BOOST_HAS_THREADS and
> BOOST_HAS_PTHREADS seem to be unconditionally defined, which
> can lead to Pthreads being used by foo.cpp, but not linked
> by bjam.

I wonder if this is the same problem I have seen: the config_test
test suite fails to link because it needs -lpthread and -lrt.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at