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.cc455 MtxUnlocked = 0, enumerator
467 if (atomic_exchange(m, MtxLocked, memory_order_acquire) == MtxUnlocked) in Lock()
469 while (atomic_exchange(m, MtxSleeping, memory_order_acquire) != MtxUnlocked) { in Lock()
480 u32 v = atomic_exchange(m, MtxUnlocked, memory_order_relaxed); in Unlock()
481 CHECK_NE(v, MtxUnlocked); in Unlock()
493 CHECK_NE(MtxUnlocked, atomic_load(m, memory_order_relaxed)); in CheckLocked()