|
From: <sv...@va...> - 2010-06-05 11:58:05
|
Author: bart Date: 2010-06-05 12:57:57 +0100 (Sat, 05 Jun 2010) New Revision: 11152 Log: Added a suppression pattern for the boost thread library. Modified: trunk/glibc-2.X-drd.supp Modified: trunk/glibc-2.X-drd.supp =================================================================== --- trunk/glibc-2.X-drd.supp 2010-06-05 11:56:51 UTC (rev 11151) +++ trunk/glibc-2.X-drd.supp 2010-06-05 11:57:57 UTC (rev 11152) @@ -234,8 +234,9 @@ # # Suppress the races on boost::once_flag::epoch and on -# boost::detail::once_global_epoch. See also the source file -# boost/thread/pthread/once.hpp in the Boost source tree. +# boost::detail::this_thread_epoch. See also the source file +# boost/thread/pthread/once.hpp in the Boost source tree +# (https://svn.boost.org/trac/boost/browser/trunk/boost/thread/pthread/once.hpp). { drd-libboost-boost::call_once<void (*)()>(boost::once_flag&, void (*)()) drd:ConflictingAccess @@ -247,9 +248,18 @@ drd:ConflictingAccess fun:_ZN5boost6detail25get_once_per_thread_epochEv } +# Suppress the race reports on boost::detail::current_thread_tls_key. See also +# https://svn.boost.org/trac/boost/ticket/3526 for more information about why +# the access pattern of current_thread_tls_key is safe. { drd-libboost-boost::detail::get_current_thread_data() drd:ConflictingAccess ... fun:_ZN5boost6detail23get_current_thread_dataEv } +{ + drd-libboost-boost::detail::set_current_thread_data(boost::detail::thread_data_base*) + drd:ConflictingAccess + ... + fun:_ZN5boost6detail23set_current_thread_dataEPNS0_16thread_data_baseE +} |