[Boost-bugs] [Boost C++ Libraries] #8898: boost/smart_ptr/detail/sp_counted_base_pt.hpp: Ignores all failures from pthread_* functions

Subject: [Boost-bugs] [Boost C++ Libraries] #8898: boost/smart_ptr/detail/sp_counted_base_pt.hpp: Ignores all failures from pthread_* functions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-24 21:25:00


#8898: boost/smart_ptr/detail/sp_counted_base_pt.hpp: Ignores all failures from
pthread_* functions
-------------------------------------------+-----------------------
 Reporter: Jeffrey Walton <noloader@…> | Owner: pdimov
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: smart_ptr
  Version: Boost 1.54.0 | Severity: Problem
 Keywords: smart_ptr pthread API failure |
-------------------------------------------+-----------------------
 boost/smart_ptr/detail/sp_counted_base_pt.hpp ignores all failures from
 pthread_* functions. Functions include pthread_mutex_init,
 pthread_mutex_lock, and pthread_mutex_unlock.

 From a design perspective, it might be prudent to forgo pthreads and
 simply use atomic operations when available.

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