26 Jan
2005
26 Jan
'05
8:27 p.m.
On Wed, Jan 26, 2005 at 08:14:36PM +0000, Ben Hutchings wrote:
That is not specifically about thread-safety in Boost.Regex; the initialisation of local static variables is generally not done in a thread-safe way even by implementations that are intended to support multithreaded programs, and this goes for variables of any type.
I can tell you for certain, though, that std::string is not thread-safe in libstdc++ (see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10350). That might be the source of the problem.
Hi Ben, Ok, I will look into it tomorrow when I'm back at work. Thanks for your reply. Regards, Leon Mergen