Subject: [Boost-bugs] [Boost C++ Libraries] #9569: Upgrade lock is not acquired when previous upgrade lock releases if another read lock is present
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-13 14:53:58
#9569: Upgrade lock is not acquired when previous upgrade lock releases if another
read lock is present
-------------------------------------------+-------------------------------
Reporter: Rodionov Andrew <camelot58@â¦> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.55.0
Severity: Problem | Keywords: shared_mutex
| windows
-------------------------------------------+-------------------------------
The problem is described here
https://svn.boost.org/trac/boost/ticket/5516. Example and result are the
same. The only difference is that I use
<boost/thread/win32/shared_mutex.hpp> instead of
<boost/thread/pthread/shared_mutex.hpp>.
I tried to compile with BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN
flag and everything goes right. So the problem is in function
unlock_upgrade() in <boost/thread/win32/shared_mutex.hpp>.
My platform: Windows 7 x64, MS VS 2012.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9569> 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:15 UTC