Boost C++ Libraries: Ticket #8904: boost/smart_ptr/detail/atomic_count_pthreads.hpp: Ignores all failures from pthread_* functions https://svn.boost.org/trac10/ticket/8904 <p> boost/smart_ptr/detail/atomic_count_pthreads.hpp ignores all failures from pthread_* functions. Functions include pthread_mutex_init, pthread_mutex_lock, pthread_mutex_unlock and pthread_mutex_destroy. </p> <p> 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. </p> <p> Use of BOOST_ASSERT would also be a good idea so developers can learn the point of first failure quickly without resorting to debugging. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8904 Trac 1.4.3 Peter Dimov Wed, 11 Dec 2013 23:56:43 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/8904#comment:1 https://svn.boost.org/trac10/ticket/8904#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> In <a class="ext-link" href="https://github.com/boostorg/smart_ptr/commit/4c8a55898239048a72dbfc1f936c7a4b19469041"><span class="icon">​</span>https://github.com/boostorg/smart_ptr/commit/4c8a55898239048a72dbfc1f936c7a4b19469041</a>. </p> Ticket