Opened 9 years ago
Last modified 7 years ago
#9460 new Bugs
boost::statechart::fifo_worker not working well when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined
Reported by: | Owned by: | Andreas Huber | |
---|---|---|---|
Milestone: | To Be Determined | Component: | statechart |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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).
I suggest to replace scoped_lock typedefs with explicit boost::unique_lock usage.
Best regards, Maksim.
Attachments (1)
Change History (2)
by , 9 years ago
Attachment: | fifo_worker.hpp.patch added |
---|
comment:1 by , 7 years ago
Note:
See TracTickets
for help on using tickets.
The issue still exists in Boost 1.58.0