aboutsummaryrefslogtreecommitdiff
path: root/libsanitizer/tsan/tsan_defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsanitizer/tsan/tsan_defs.h')
-rw-r--r--libsanitizer/tsan/tsan_defs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libsanitizer/tsan/tsan_defs.h b/libsanitizer/tsan/tsan_defs.h
index 21b6835..259b30b 100644
--- a/libsanitizer/tsan/tsan_defs.h
+++ b/libsanitizer/tsan/tsan_defs.h
@@ -81,6 +81,8 @@ const bool kCollectHistory = false;
const bool kCollectHistory = true;
#endif
+const unsigned kInvalidTid = (unsigned)-1;
+
// The following "build consistency" machinery ensures that all source files
// are built in the same configuration. Inconsistent builds lead to
// hard to debug crashes.