Re: [Boost-bugs] [Boost C++ Libraries] #11499: exception lock_error while intensive locking/unlocking of shared_mutex on many threads

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11499: exception lock_error while intensive locking/unlocking of shared_mutex on many threads
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-13 08:03:03


#11499: exception lock_error while intensive locking/unlocking of shared_mutex on
many threads
-------------------------------------+----------------------
  Reporter: andrew maclean <agm@…> | Owner: viboes
      Type: Bugs | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------+----------------------

Comment (by andrew maclean <agm@…>):

 In shared_mutex.hpp @393 lock() member function

         void lock()
         {
 #if defined BOOST_THREAD_USES_DATETIME
 BOOST_VERIFY(timed_lock(::boost::detail::get_system_time_sentinel()));
 #else
             BOOST_VERIFY(try_lock_until(chrono::steady_clock::now()));
 #endif
         }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11499#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:18 UTC