Subject: [Boost-bugs] [Boost C++ Libraries] #9461: Boost Regex will not compile portable implementation of boost::scoped_static_mutex_lock when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-02 16:47:12
#9461: Boost Regex will not compile portable implementation of
boost::scoped_static_mutex_lock when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS
is defined
-------------------------------+-------------------------
Reporter: myasnikovmaksim@⦠| Owner: johnmaddock
Type: Patches | Status: new
Milestone: To Be Determined | Component: regex
Version: Boost 1.55.0 | Severity: Problem
Keywords: |
-------------------------------+-------------------------
Portable implementation of boost::scoped_static_mutex_lock is based on
boost::mutex::scoped_lock typedef which is not accessible when
BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined (this macro is defined
when BOOST_THREAD_VERSION is set to 4).[[BR]]
I suggest to replace scoped_lock typedefs with explicit boost::unique_lock
usage.[[BR]]
Best regards, Maksim.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/9461> 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:14 UTC