Refactors queue push pop
[libcds.git] / tools / tsan-suppression
index 8d8c46d5ffda50aea958344af680382b1289db03..e2771632c991b4a4982a0a8515088ea2257119d3 100644 (file)
@@ -1,17 +1,20 @@
 # Run-time flags: envvar TSAN_OPTIONS="';' delimited option list"
 # Useful options (full list see https://github.com/google/sanitizers/wiki/ThreadSanitizerFlags):
 #   suppressions=<supression_file_name>
-#   verosity=n Verbosity level (0 - silent, 1 - a bit of output, 2+ - more output).
+#   verbosity=n Verbosity level (0 - silent, 1 - a bit of output, 2+ - more output).
 #   history_size=[0..7], default 2
+#   detect_deadlocks=0 - some data structs in libcds tests use a lot of node-level mutexes.
+#                        TSan has the hardcoded limit =16 for the number of mutex per thread.
+#                        To prevent "possibly deadlock" reporting disable deadlock detection.
+#                        Suppression can help in that case but stack unwinding increases 
+#                        test time significantly.
 
-# DHP 
-#race:cds::gc::details::retired_ptr::free
+# false: LazyList potential deadlock
+deadlock:cds/intrusive/impl/lazy_list.h
+deadlock:cds/intrusive/lazy_list_nogc.h
 
-# uRCU false positive
-#race:cds::urcu::gc*::batch_retire*
+# false: BronsonAVLTree potential deadlock
+deadlock:cds/container/impl/bronson_avltree_map_rcu.h
 
-# EllenBinTree false positive
-#race:ellen_bintree_pool::internal_node_allocator*::allocate
-
-# TODO: TSan false positive or library issues?
-#race:cds::container::OptimisticQueue*::alloc_node
+#TODO: temporary suppressed. Must be researched later
+race:cds/container/impl/bronson_avltree_map_rcu.h