Re: [Boost-bugs] [Boost C++ Libraries] #7571: Mutex fails to unlock and causes deadlock

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7571: Mutex fails to unlock and causes deadlock
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-29 08:44:49


#7571: Mutex fails to unlock and causes deadlock
-----------------------------------+----------------------------------------
  Reporter: yalon-l@… | Owner: anthonyw
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.51.0 | Severity: Showstopper
Resolution: invalid | Keywords: mutex deadlock VC7.1
-----------------------------------+----------------------------------------

Comment (by anonymous):

 I don't think that the problem is in the example. The 10000 milliseconds
 is about 10 times the needed duration. I'm attacing the executable so one
 can see the messages written and then a long pause (of about 9 sec) after
 which deadlock is detected.
 I can increase of course the 10000, but it does nothing except for a
 longer wait till the program detects the deadlock.

 I forgot to mention that I'm running on Windows 7.

 In my experiments, I replace boost::mutex with a mutex of my own, based
 upon Windows native CreateMutex. With it the problem doesn't show and the
 deadlock never occurs.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7571#comment:3>
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