id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 8884,boost asio in posix_event: lock release before condition signaled,carsten.becker@…,chris_kohlhoff,"valgrind drd warns about a possible race condition ... (possible patch:) Index: boost/asio/detail/posix_event.hpp =================================================================== --- boost/asio/detail/posix_event.hpp (Revision 85130) +++ boost/asio/detail/posix_event.hpp (Arbeitskopie) @@ -58,8 +58,8 @@ { BOOST_ASIO_ASSERT(lock.locked()); signalled_ = true; + ::pthread_cond_signal(&cond_); // Ignore EINVAL. lock.unlock(); - ::pthread_cond_signal(&cond_); // Ignore EINVAL. } // Reset the event. ",Bugs,new,To Be Determined,asio,Boost 1.54.0,Problem,,race multi-thread,