At 5:15 PM -0700 8/23/06, Rush Manbert wrote:
Rene Rivera wrote:
Rush Manbert wrote:
Why are there no thread safe libraries built for the Darwin toolset?
Unfortunately... I have no clue why you don't get the multi-thread libs. They did get generated, and tested, for the release. For example the thread libs
http://engineering.meta-comm.com/boost-regression/1_33_1/developer/thread_re....
Thanks for the reply. I have poked around a little bit more. By placing #warnings in config/compiler/gcc.hpp and in config/suffix.hpp (which appears to be the only place that BOOST_HAS_THREADS is undefined) I know that if I run the default bjam with the Darwin toolset, then BOOST_HAS_THREADS is defined for every file that is compiled. Does this mean that all of the multi-threading support is enabled in every library? If so, then something still seems wrong, but at least I am building multi-thread libraries.
I haven't used MacOSX extensively for development, but it appears that it *only* supports multi-threaded compilation. For example, the version of gcc that Apple provides doesn't accept the -pthread option; it's always turned on and I don't know of a way to turn it off if one wanted to. It isn't clear whether you are using bare darwin, or darwin on MacOSX, and I don't know if that distinction actually matters for this.