Home
last modified time | relevance | path

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

/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_linux.cc513 MtxUnlocked = 0, enumerator
525 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) in Lock()
527 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { in Lock()
538 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_relaxed); in Unlock()
539 CHECK_NE(v, MtxUnlocked); in Unlock()
551 CHECK_NE(MtxUnlocked, atomic_load(m, memory_order_relaxed)); in CheckLocked()