Re: [Boost-bugs] [Boost C++ Libraries] #7720: exception lock_error while intensive locking/unlocking of mutex

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7720: exception lock_error while intensive locking/unlocking of mutex
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-16 17:29:37


#7720: exception lock_error while intensive locking/unlocking of mutex
----------------------------------------+-----------------------------------
  Reporter: sergey.stepanov@… | Owner: viboes
      Type: Bugs | Status: reopened
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.51.0 | Severity: Regression
Resolution: | Keywords: lock_error
----------------------------------------+-----------------------------------

Comment (by viboes):

 Hi,

 I didn't had access to a windows machine during the week. I have tested it
 now I confirm the error.

 The following patch works for me.
 Could you check it?


 {{{
 svn diff boost/thread/win32/shared_mutex.hpp
 Index: boost/thread/win32/shared_mutex.hpp
 ===================================================================
 --- boost/thread/win32/shared_mutex.hpp (revision 82919)
 +++ boost/thread/win32/shared_mutex.hpp (working copy)
 @@ -737,7 +737,7 @@
                      {
                          release_waiters(old_state);
                      } else {
 - release_waiters(old_state);
 + //release_waiters(old_state);
                      }
                      break;
                  }

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7720#comment:15>
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:12 UTC