id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3754,Multithread problem in Named Mutexes,Alex Sobral de Freitas ,Ion Gaztañaga,"I was developing a test for named_mutex and the program began to close unexpectedly. The situation occurred with multiple threads simultaneously trying to create named_mutex objects. Investigating the problem more deeply I have identified that the builder tries to create the named_mutex control file ''(in file ""/ boost_1_40_0/boost/interprocess/detail/managed_open_or_create_impl.hpp"" line 264)'' and if the control file already exists an exception occurs, which ultimately call the operating system ''(FormatMessageA the file ""/ boost_1_40_0/boost/interprocess/detail/win32_api.hpp"" line 471)'' and the program quits after calling this function. This problem only occurs with multiple threads creating named_mutexes simultaneously, and I believe it is because this function OS is not multi-threaded safe.",Bugs,closed,Boost 1.42.0,interprocess,Boost 1.40.0,Not Applicable,invalid,,