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: 2015-09-18 10:19:45
#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.59.0 | Severity: Regression
Resolution: | Keywords: lock_error
--------------------------------+------------------------
Comment (by duchungjava@â¦):
Thank you Viboes,
Yes, it's true that BOOST_THREAD_PROVIDES_GENERIC_SHARED_MUTEX_ON_WIN
works well in all of my test cases. However, due to the performance issue,
it's a difficult decision for us to apply it to our system.
In one of my experiments, on Boost 1.59, if I modify the unlock_upgrade()
to reset "new_state.shared_waiting" to zero regardless what the status of
"last_reader" is, everything seems to work properly.
I hope you will consider this experiment when you have time.
Best regards,
Hung Mai
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7720#comment:30> 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:19 UTC