Opened 5 years ago

Closed 5 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: myasnikovmaksim@… Owned by: John Maddock
Milestone: To Be Determined Component: regex
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:


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)

static_mutex.patch (1.3 KB) - added by anonymous 5 years ago.

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by anonymous

Attachment: static_mutex.patch added

comment:1 Changed 5 years ago by John Maddock

Resolution: fixed
Status: newclosed

Fixed in Git develop.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Maddock.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.