Opened 9 years ago
Closed 9 years ago
#9461 closed Patches (fixed)
Boost Regex will not compile portable implementation of boost::scoped_static_mutex_lock when BOOST_THREAD_DONT_PROVIDE_NESTED_LOCKS is defined
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | regex |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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).
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: | static_mutex.patch added |
---|
comment:1 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Fixed in Git develop.