Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-10-09 05:08:53


Raj wrote:

> Hi,
> I am trying to use BOOST thread and regex libraries on Linux.
> I am able to compile them with sTOOLSS=gcc-stlport option.
> But, I would also like to specify that I would like to use the NPTL thread
> lib instead of pthread.

I don't understand this. At least at my system (2.6.7-1-k7-smp, Debian), the
choice is made not at compile time, but it run time. Ordinary, programs use
NPTL, but if I

  export LD_ASSUME_KERNEL=2.4

the old pthreads are used.

- Volodya


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net