[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-bugs
Subject:    Re: [Boost-bugs] [Boost C++ Libraries] #7923: Multiple consecutive named_mutex::remove
From:       "Boost C++ Libraries" <noreply () lists ! boost ! org>
Date:       2013-01-30 0:09:34
Message-ID: 077.07930229f32f15566c6c0aab251e0404 () lists ! boost ! org
[Download RAW message or body]

#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.
_______________________________________________
Boost-bugs mailing list
Boost-bugs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-bugs

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic