diff options
author | Kostya Serebryany <kcc@google.com> | 2014-02-13 09:52:15 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2014-02-13 09:52:15 +0000 |
commit | 361082bac8b483a9e962abefc3627d5867d779eb (patch) | |
tree | 33d57e1ce0190004d891417b393b044daa7f1c7e /lib/sanitizer_common/sanitizer_deadlock_detector.h | |
parent | 56f859072ba1d194373654fca84b941ffb035c84 (diff) |
[sanitizer] findPath for deadlock detector
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201306 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_deadlock_detector.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_deadlock_detector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_deadlock_detector.h b/lib/sanitizer_common/sanitizer_deadlock_detector.h index d1da120d8..4f3f87d3b 100644 --- a/lib/sanitizer_common/sanitizer_deadlock_detector.h +++ b/lib/sanitizer_common/sanitizer_deadlock_detector.h @@ -59,6 +59,8 @@ class DeadlockDetectorTLS { // DeadlockDetector. // For deadlock detection to work we need one global DeadlockDetector object // and one DeadlockDetectorTLS object per evey thread. +// This class is not thread safe, all concurrent accesses should be guarded +// by an external lock. template <class BV> class DeadlockDetector { public: |