X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=cds%2Fcontainer%2Ffcpriority_queue.h;h=163537ed778e6462c075e1dd2260477d3f50dffa;hb=97438a7bbd946a95c9427fe03c366766e3c909b0;hp=c98f155b57a7b01052273e785c6260fa2ab801df;hpb=2e75cfb05e478f1f6f91c8b80217217696ac2897;p=libcds.git diff --git a/cds/container/fcpriority_queue.h b/cds/container/fcpriority_queue.h index c98f155b..163537ed 100644 --- a/cds/container/fcpriority_queue.h +++ b/cds/container/fcpriority_queue.h @@ -259,6 +259,9 @@ namespace cds { namespace container { { assert( pRec ); + // this function is called under FC mutex, so switch TSan off + CDS_TSAN_ANNOTATE_IGNORE_RW_BEGIN; + switch ( pRec->op() ) { case op_push: assert( pRec->pValPush ); @@ -287,6 +290,8 @@ namespace cds { namespace container { assert(false); break; } + + CDS_TSAN_ANNOTATE_IGNORE_RW_END; } //@endcond };