Searched refs:UNLOCKED (Results 1 – 1 of 1) sorted by relevance
| /third_party/ulib/musl/src/internal/ |
| A D | futex_impl.h | 12 #define UNLOCKED 0 macro 17 if (a_cas_shim(l, UNLOCKED, LOCKED_NO_WAITERS)) { in lock() 20 __wait(l, UNLOCKED, LOCKED_MAYBE_WAITERS); in lock() 21 while (a_cas_shim(l, UNLOCKED, LOCKED_MAYBE_WAITERS)); in lock() 26 if (atomic_exchange(l, UNLOCKED) == LOCKED_MAYBE_WAITERS) in unlock() 31 atomic_store(l, UNLOCKED); in unlock_requeue() 32 _zx_futex_requeue(l, /* wake count */ 0, /* l futex value */ UNLOCKED, in unlock_requeue()
|
Completed in 3 milliseconds