Home
last modified time | relevance | path

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

/bionic/libc/private/
Dbionic_lock.h37 Unlocked = 0, enumerator
50 atomic_init(&state, Unlocked); in init()
55 LockState old_state = Unlocked; in lock()
60 while (atomic_exchange_explicit(&state, LockedWithWaiter, memory_order_acquire) != Unlocked) { in lock()
68 if (atomic_exchange_explicit(&state, Unlocked, memory_order_release) == LockedWithWaiter) { in unlock()