Modify

Opened 4 years ago

Closed 4 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:

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)

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

Download all attachments as: .zip

Change History (2)

Changed 4 years ago by anonymous

Attachment: static_mutex.patch added

comment:1 Changed 4 years ago by John Maddock

Resolution: fixed
Status: newclosed

Fixed in Git develop.

Modify Ticket

Change Properties
Set your email in Preferences
Action
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.