Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8903: libs/regex/src/static_mutex.cpp: Ignores nearly all failures from pthread_* functions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-14 12:17:31
#8903: libs/regex/src/static_mutex.cpp: Ignores nearly all failures from pthread_*
functions
-------------------------------------+-------------------------------------
Reporter: Jeffrey Walton | Owner: johnmaddock
<noloader@â¦> | Status: new
Type: Bugs | Component: regex
Milestone: To Be Determined | Severity: Problem
Version: Boost 1.54.0 | Keywords: regex thread mutex
Resolution: | pthread API failure
-------------------------------------+-------------------------------------
Comment (by johnmaddock):
Actually boost/thread/pthread/mutex.hpp uses BOOST_VERIFY for those
operations, in particular since destructors should never throw exceptions
it's hard to do much else for pthread_mutex_unlock. In any case those
types aren't useable in static initialization which is a requirement for
Regex.
I'll tighten up lock acquisition, and use BOOST_VERIFY in the lock free
case.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8903#comment:1> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC