Boost logo

Boost :

Subject: Re: [boost] [config] PGI config file doesn't definesBOOST_HAS_THREADS
From: John Maddock (boost.regex_at_[hidden])
Date: 2012-03-23 13:12:18


>The regression test are working now. I'm wondering if it couldn't be better
>to update ../boost/config/requires_threads.hpp instead.

??? It's there for a reason - if Boost.Config thinks threads are turned off
in the compiler then it's not safe to call the threading API's, and yes, you
can have pthreads or Win32 threads available, but the compiler not generate
thread safe code so BOOST_HAS_THREADS is deliberately unset.

John.


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