Subject: [Boost-bugs] [Boost C++ Libraries] #9456: BOOST_SPIRIT_THREADSAFE not working well when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-02 15:34:40
#9456: BOOST_SPIRIT_THREADSAFE not working well when
BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined
------------------------------+---------------------
Reporter: anonymous | Owner: djowel
Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
Version: Boost 1.55.0 | Severity: Problem
Keywords: spirit wave |
------------------------------+---------------------
BOOST_SPIRIT_THREADSAFE uses 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]]
Also Boost Wave library fails to compile due to dependence on
Spirit.[[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/9456> 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