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

Subject: [Boost-bugs] [Boost C++ Libraries] #7571: Mutex fails to unlock and causes deadlock
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-25 14:04:40


#7571: Mutex fails to unlock and causes deadlock
----------------------------------+-----------------------------------------
 Reporter: yalon-l@… | Owner: anthonyw
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.51.0 | Severity: Showstopper
 Keywords: mutex deadlock VC7.1 |
----------------------------------+-----------------------------------------
 I'm using mutex and scoped_lock to lock and unlock it. Once a thread locks
 the mutex, it never gets unlocked, even though the lock goes out of scope
 and even when the thread terminates.
 As a result it causes a deadlock.

 The problem shows only when the operation the thread is doing is long
 enough to allow context switching between the threads.

 Problem appears on Visual Studio 2003 (VC7.1)

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