/external/rust/crates/spin/src/mutex/ |
D | spin.rs | 55 pub struct SpinMutex<T: ?Sized> { struct 69 unsafe impl<T: ?Sized + Send> Sync for SpinMutex<T> {} argument 70 unsafe impl<T: ?Sized + Send> Send for SpinMutex<T> {} implementation 72 impl<T> SpinMutex<T> { impl 89 pub const fn new(user_data: T) -> SpinMutex<T> { in new() 90 SpinMutex { in new() 108 let SpinMutex { data, .. } = self; in into_inner() localVariable 113 impl<T: ?Sized> SpinMutex<T> { implementation 217 impl<T: ?Sized + fmt::Debug> fmt::Debug for SpinMutex<T> { implementation 228 impl<T: ?Sized + Default> Default for SpinMutex<T> { implementation [all …]
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mutex_test.cpp | 102 TEST(SanitizerCommon, SpinMutex) { in TEST() argument 103 SpinMutex mtx; in TEST() 105 TestData<SpinMutex> data(&mtx); in TEST() 108 PTHREAD_CREATE(&threads[i], 0, lock_thread<SpinMutex>, &data); in TEST() 114 SpinMutex mtx; in TEST() 116 TestData<SpinMutex> data(&mtx); in TEST() 119 PTHREAD_CREATE(&threads[i], 0, try_thread<SpinMutex>, &data); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mutex_test.cc | 103 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/ |
D | sanitizer_mutex.h | 63 class SpinMutex : public StaticSpinMutex { 65 SpinMutex() { in SpinMutex() function 70 SpinMutex(const SpinMutex&); 71 void operator=(const SpinMutex&);
|
D | sanitizer_quarantine.h | 82 SpinMutex cache_mutex_; 83 SpinMutex recycle_mutex_;
|
D | sanitizer_deadlock_detector1.cc | 37 SpinMutex mtx;
|
/external/llvm-project/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_mutex.h | 62 class SpinMutex : public StaticSpinMutex { 64 SpinMutex() { in SpinMutex() function 69 SpinMutex(const SpinMutex&); 70 void operator=(const SpinMutex&);
|
D | sanitizer_deadlock_detector1.cpp | 36 SpinMutex mtx;
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mutex_test.cc | 117 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/llvm-project/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mutex_test.cpp | 116 SpinMutex mtx; in TEST() 117 TestData<SpinMutex> data(&mtx); in TEST() 120 pthread_create(&threads[i], 0, write_mutex_thread<SpinMutex>, &data); in TEST()
|
/external/llvm-project/compiler-rt/lib/xray/ |
D | xray_init.cpp | 52 SpinMutex XRayInstrMapMutex; 59 SpinMutex XRayInitMutex;
|
D | xray_buffer_queue.h | 140 SpinMutex Mutex;
|
D | xray_log_interface.cpp | 21 static SpinMutex XRayImplMutex;
|
D | xray_allocator.h | 178 SpinMutex Mutex{};
|
D | xray_interface.cpp | 37 extern __sanitizer::SpinMutex XRayInstrMapMutex;
|
D | xray_profiling.cpp | 40 static SpinMutex ProfilerOptionsMutex;
|
/external/rust/crates/spin/ |
D | CHANGELOG.md | 34 - `Mutex::is_locked`/`SpinMutex::is_locked`/`TicketMutex::is_locked` 41 - Improved the performance of `SpinMutex` by relaxing unnecessarily conservative
|
/external/llvm-project/compiler-rt/lib/hwasan/ |
D | hwasan_thread_list.h | 185 SpinMutex list_mutex_; 188 SpinMutex stats_mutex_;
|
/external/rust/crates/spin/src/ |
D | mutex.rs | 32 type InnerMutex<T> = SpinMutex<T>; 90 inner: SpinMutex<T>,
|
/external/rust/crates/spin/patches/ |
D | disable_panic_tests.patch | 11 let arc = Arc::new(SpinMutex::new(1));
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_dense_alloc.h | 96 SpinMutex mtx_;
|
/external/llvm-project/compiler-rt/lib/tsan/rtl/ |
D | tsan_dense_alloc.h | 96 SpinMutex mtx_;
|
/external/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_mutex.cc | 111 TEST(ThreadSanitizer, SpinMutex) { in TEST() argument
|
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/ |
D | tsan_mutex.cpp | 110 TEST(ThreadSanitizer, SpinMutex) { in TEST() argument
|
/external/compiler-rt/lib/msan/ |
D | msan_allocator.cc | 94 static SpinMutex fallback_mutex;
|