Home
last modified time | relevance | path

Searched refs:SpinMutex (Results 1 – 10 of 10) sorted by relevance

/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cc103 TEST(SanitizerCommon, SpinMutex) { in TEST() argument
104 SpinMutex mtx; in TEST()
106 TestData<SpinMutex> data(&mtx); in TEST()
109 PTHREAD_CREATE(&threads[i], 0, lock_thread<SpinMutex>, &data); in TEST()
115 SpinMutex mtx; in TEST()
117 TestData<SpinMutex> data(&mtx); in TEST()
120 PTHREAD_CREATE(&threads[i], 0, try_thread<SpinMutex>, &data); in TEST()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h63 class SpinMutex : public StaticSpinMutex {
65 SpinMutex() { in SpinMutex() function
70 SpinMutex(const SpinMutex&);
71 void operator=(const SpinMutex&);
Dsanitizer_quarantine.h82 SpinMutex cache_mutex_;
83 SpinMutex recycle_mutex_;
Dsanitizer_deadlock_detector1.cc37 SpinMutex mtx;
Dsanitizer_allocator.h286 mutable SpinMutex mu_;
833 SpinMutex mutex;
1251 SpinMutex mutex_;
Dsanitizer_deadlock_detector2.cc112 SpinMutex mtx;
/external/compiler-rt/lib/tsan/tests/unit/
Dtsan_mutex_test.cc117 SpinMutex mtx; in TEST()
118 TestData<SpinMutex> data(&mtx); in TEST()
121 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); in TEST()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_dense_alloc.h96 SpinMutex mtx_;
/external/compiler-rt/lib/msan/
Dmsan_allocator.cc69 static SpinMutex fallback_mutex;
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mutex.cc111 TEST(ThreadSanitizer, SpinMutex) { in TEST() argument