Home
last modified time | relevance | path

Searched defs:SpinMutex (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/spin/src/mutex/
Dspin.rs55 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
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
234 impl<T> From<T> for SpinMutex<T> { implementation
294 unsafe impl lock_api::RawMutex for SpinMutex<()> { implementation
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h65 SpinMutex() { in SpinMutex() function
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_mutex.h64 SpinMutex() { in SpinMutex() function
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cpp102 TEST(SanitizerCommon, SpinMutex) { in TEST() argument
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_mutex_test.cc103 TEST(SanitizerCommon, SpinMutex) { in TEST() argument
/external/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mutex.cc111 TEST(ThreadSanitizer, SpinMutex) { in TEST() argument
/external/llvm-project/compiler-rt/lib/tsan/tests/rtl/
Dtsan_mutex.cpp110 TEST(ThreadSanitizer, SpinMutex) { in TEST() argument