[Boost-bugs] [Boost C++ Libraries] #8903: libs/regex/src/static_mutex.cpp: Ignores nearly all failures from pthread_* functions

Subject: [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-07-24 23:17:14


#8903: libs/regex/src/static_mutex.cpp: Ignores nearly all failures from pthread_*
functions
-------------------------------------------------+-------------------------
 Reporter: Jeffrey Walton <noloader@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: regex thread mutex pthread API |
  failure |
-------------------------------------------------+-------------------------
 libs/regex/src/static_mutex.cpp ignores nearly all failures from pthread_*
 functions. Functions include pthread_mutex_lock and pthread_mutex_unlock.

 BOOST_VERIFY is used for debugging and diagnostic builds, but no actions
 are taken for failures in release or production builds.

 Perhaps it would be a good idea to use boost/thread/pthread/mutex.hpp. It
 appears to have more stability and throws lock exceptions where
 appropriate.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8903>
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:13 UTC