Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7906: Very bad performance of generic implementation of shared_mutex on windows
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-09 14:00:10
#7906: Very bad performance of generic implementation of shared_mutex on windows
-------------------------------------------+--------------------------------
Reporter: Andrey <nikolay@â¦> | Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.52.0 | Severity: Optimization
Resolution: | Keywords: thread shared_mutex
-------------------------------------------+--------------------------------
Comment (by viboes):
Replying to [comment:7 Andrey <nikolay@â¦>]:
> I am going to test you patch on next week. Sorry for the delay.
After thinking a little bit more on this subject, I'm not sure
shared_mutex should be an interruption point or not. With the pthread
implementation most of the operations are interruption points as they use
condition_variables, but the win32 implementation don't use
condition_variables. What do you think?
In any case the patch is incomplete as it only disable interrupts, but
doesn't adds calls to this_thread::interruption_point().
The test I also did is to compile without interruptions. Please could you
give the performances when you enable/disable interruptions
(BOOST_THREAD_PROVIDES_INTERRUPTIONS/BOOST_THREAD_DONT_PROVIDE_INTERRUPTIONS)?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7906#comment:8> 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