Opened 9 years ago
Closed 5 years ago
#9456 closed Bugs (fixed)
BOOST_SPIRIT_THREADSAFE not working well when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined
Reported by: | anonymous | Owned by: | Joel de Guzman |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | spirit wave | Cc: |
Description
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).
Also Boost Wave library fails to compile due to dependence on Spirit.
I suggest to replace scoped_lock typedefs with explicit boost::unique_lock usage.
Best regards, Maksim.
Attachments (1)
Change History (6)
by , 9 years ago
Attachment: | impl.patch added |
---|
comment:1 by , 7 years ago
comment:2 by , 7 years ago
comment:5 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The issue still exists in Boost 1.58.0