diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-07-02 06:54:24 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-07-02 06:54:24 +0000 |
commit | e088e16006e2b3fc5739be675b3243e18f30ad01 (patch) | |
tree | 94e253463f120ea94e481e2c918cf52de6044ac7 /lib/sanitizer_common/sanitizer_mutex.h | |
parent | 62f294020ce5d60dc51883e7708a56247c366d14 (diff) |
tsan/asan: add mutex to 64-bit allocator
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@159516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_mutex.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_mutex.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_mutex.h b/lib/sanitizer_common/sanitizer_mutex.h index 8bb9d3648..6cc86d3f8 100644 --- a/lib/sanitizer_common/sanitizer_mutex.h +++ b/lib/sanitizer_common/sanitizer_mutex.h @@ -79,6 +79,8 @@ class GenericScopedReadLock { void operator=(const GenericScopedReadLock&); }; +typedef GenericScopedLock<SpinMutex> SpinMutexLock; + } // namespace __sanitizer #endif // SANITIZER_MUTEX_H |