Searched refs:MtxUnlocked (Results 1 – 1 of 1) sorted by relevance
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_linux.cc | 454 MtxUnlocked = 0, enumerator 466 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) in Lock() 468 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { in Lock() 479 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_relaxed); in Unlock() 480 CHECK_NE(v, MtxUnlocked); in Unlock() 492 CHECK_NE(MtxUnlocked, atomic_load(m, memory_order_relaxed)); in CheckLocked()
|