Fixed missing acquire read in Flat-Combining algorithm (found by TSan)
[libcds.git] / cds / container / fcpriority_queue.h
index 83fd323bf920c9aa3f48617ac511a5e1be959f64..97983ff2e7bdaca33ab4028609510b18db37eeae 100644 (file)
@@ -280,7 +280,7 @@ namespace cds { namespace container {
             assert( pRec );
 
             // this function is called under FC mutex, so switch TSan off
-            CDS_TSAN_ANNOTATE_IGNORE_RW_BEGIN;
+            //CDS_TSAN_ANNOTATE_IGNORE_RW_BEGIN;
 
             switch ( pRec->op()) {
             case op_push:
@@ -308,7 +308,7 @@ namespace cds { namespace container {
                 break;
             }
 
-            CDS_TSAN_ANNOTATE_IGNORE_RW_END;
+            //CDS_TSAN_ANNOTATE_IGNORE_RW_END;
         }
         //@endcond
     };