Fixed data races found by tsan
[libcds.git] / cds / compiler / clang / defs.h
index 182a5b8302c7b04db750bd1e381306527f360735..ff6fb794b6da46f9aa88774e7f1b02de0970ebf4 100644 (file)
 // Inheriting constructors
 #define CDS_CXX11_INHERITING_CTOR
 
+
+// *************************************************
+// Features
+#if defined(__has_feature) && __has_feature(thread_sanitizer)
+#   define CDS_THREAD_SANITIZER_ENABLED
+#endif
+
 // *************************************************
 // Alignment macro