
24 Jul
2013
24 Jul
'13
8:11 a.m.
The build process is successful and I can find the library in "/opt/third_party_libraries/boost_1_46_1/lib/libboost_regex.so.1.46.1".
The question is: does this library support multiple threads? I did some research on this topic, it seems like even though the name does not contain "mt", it is actually thread safe. Or do I have to pass extra parameter to generate thread safe version?
Yes it's thread safe as long as GCC and libstdc++ are (which they should be
on your platform). At some point Boost.Build reduced the number of build
variants on Linux so we basically only build thread safe release versions.
HTH, John.
PS You can always check this in your code with a:
#include