Subject: [Boost-bugs] [Boost C++ Libraries] #9460: boost::statechart::fifo_worker not working well when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-02 16:15:43
#9460: boost::statechart::fifo_worker not working well when
BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined
-------------------------------+-----------------------------
Reporter: myasnikovmaksim@⦠| Owner: andreas_huber69
Type: Bugs | Status: new
Milestone: To Be Determined | Component: statechart
Version: Boost 1.55.0 | Severity: Problem
Keywords: |
-------------------------------+-----------------------------
boost::statechart::fifo_worker 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]]
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/9460> 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