Searched refs:unlocked (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_mutex.cpp150 * 0 for unlocked
169 // Return true iff the mutex is unlocked.
277 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; local
280 uint16_t old_state = unlocked;
292 * 0 (unlocked, no contention)
314 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; local
321 // If it returns unlocked, we have acquired the lock, otherwise another
326 memory_order_acquire) != unlocked) {
341 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; local
349 if (atomic_exchange_explicit(&mutex->state, unlocked,
442 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; local
571 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; local
587 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; local
[all...]

Completed in 4 milliseconds