|
From: Johan S. <jo...@if...> - 2006-08-07 06:41:49
|
---------- Forwarded message ---------- From: John Maddock <jo...@jo...> Date: Aug 1, 2006 11:11 AM Subject: [Boost-announce] [regex] Thread safety patch. To: boost-users <boo...@li...>, boost-announce <boo...@li...> With apologies to all concerned, and thanks to Aleksey Sanin for tracking down the problem, there is a const-correctness bug in Boost.Regex-1.33.x that strikes only in multithreaded programs on Unix platforms, if: * Multiple threads construct regexes concurrently, or * Multiple threads perform search and replace operations concurrently. There are two possible fixes: * Apply the attached patch (this has just gone into cvs along with an updated test case that detects the issue). Or, * define BOOST_REGEX_USE_C_LOCALE in boost/user.hpp and rebuild everything. Regards, John Maddock. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-announce -- Regards Johan Seland PhD Student Center of Mathematics for Applications, University of Oslo |