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-25 14:16:21


#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
Resolution: | Keywords: mutex deadlock VC7.1
-----------------------------------+----------------------------------------

Comment (by yalon-l@…):

 Results when running the attached demo file:[[BR]]

 D:\Projects\BoostMutexBug\BoostMutexBug\Tests\Debug>Tests 5000000[[BR]]
 Thread 1, iteration 0[[BR]]
 Thread 2, iteration 0[[BR]]
 Thread 1, iteration 1[[BR]]
 Thread 1, iteration 2[[BR]]
 Thread 1, iteration 3[[BR]]
 Thread 1, iteration 4[[BR]]
 Deadlock occurred[[BR]]
 [[BR]]
 D:\Projects\BoostMutexBug\BoostMutexBug\Tests\Debug>Tests 100[[BR]]
 Thread 1, iteration 0[[BR]]
 Thread 1, iteration 1[[BR]]
 Thread 2, iteration 0[[BR]]
 Thread 1, iteration 2[[BR]]
 Thread 2, iteration 1[[BR]]
 Thread 2, iteration 2[[BR]]
 Thread 2, iteration 3[[BR]]
 Thread 1, iteration 3[[BR]]
 Thread 1, iteration 4[[BR]]
 Thread 2, iteration 4[[BR]]

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