Re: [Boost-bugs] [Boost C++ Libraries] #11798: Implementation of boost::shared_mutex on POSIX is suboptimal

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11798: Implementation of boost::shared_mutex on POSIX is suboptimal
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-11-17 09:46:17


#11798: Implementation of boost::shared_mutex on POSIX is suboptimal
-------------------------+-------------------------------------------------
  Reporter: alex@… | Owner: viboes
      Type: Tasks | Status: assigned
 Milestone: To Be | Component: thread
  Determined | Severity: Optimization
   Version: Boost | Keywords: pthread shared_mutex performance
  1.59.0 | concurrency spinlock
Resolution: |
-------------------------+-------------------------------------------------

Comment (by alex@…):

 Updated the patch with a minor fix.

 Also note that as mentioned in the original description, we can
 alternatively keep most of the existing implementation the same and use a
 pthread_spin_lock instead of a boost::mutex to guard the internal state.
 This will make the implementation quite similar to the win32 one.

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