Re: [Boost-bugs] [Boost C++ Libraries] #7923: Multiple consecutive named_mutex::remove

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7923: Multiple consecutive named_mutex::remove
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-30 00:09:34


#7923: Multiple consecutive named_mutex::remove
--------------------------------------------+-------------------------------
  Reporter: cbarrioy <cbarrioy@…> | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords: named_mutex remove
--------------------------------------------+-------------------------------

Comment (by cbarrioy <cbarrioy@…>):

 I have tested the attached file for many hours and everything seems to
 work fine, however I think that it could have some problem if two parallel
 processes(both started at the same time) try to remove two different named
 resources at the same time, the static counter will have the same value
 for both processes.
 Maybe some type of process identifier is needed for this case too, like
 PID.

 what do you think?
 Anyway, nice work!

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7923#comment:5>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC