TSan exam:
[libcds.git] / cds / container / split_list_set_rcu.h
index 7ad24be8f32ecca1bf38c086b86e2941ea6ccc45..f6caeb73e052357101bd7605af7f044eb87acdb1 100644 (file)
@@ -226,26 +226,18 @@ namespace cds { namespace container {
         template <typename Q>
         static node_type * alloc_node( Q const& v )
         {
-            CDS_TSAN_ANNOTATE_IGNORE_WRITES_BEGIN;
-            node_type * p = cxx_node_allocator().New( v );
-            CDS_TSAN_ANNOTATE_IGNORE_WRITES_END;
-            return p;
+            return cxx_node_allocator().New( v );
         }
 
         template <typename... Args>
         static node_type * alloc_node( Args&&... args )
         {
-            CDS_TSAN_ANNOTATE_IGNORE_WRITES_BEGIN;
-            node_type * p = cxx_node_allocator().MoveNew( std::forward<Args>(args)...);
-            CDS_TSAN_ANNOTATE_IGNORE_WRITES_END;
-            return p;
+            return cxx_node_allocator().MoveNew( std::forward<Args>(args)...);
         }
 
         static void free_node( node_type * pNode )
         {
-            CDS_TSAN_ANNOTATE_IGNORE_WRITES_BEGIN;
             cxx_node_allocator().Delete( pNode );
-            CDS_TSAN_ANNOTATE_IGNORE_WRITES_END;
         }
 
         struct node_disposer {