Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_mutex.cpp274 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_trylock() local
277 uint16_t old_state = unlocked; in __pthread_normal_mutex_trylock()
307 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_lock() local
319 memory_order_acquire) != unlocked) { in __pthread_normal_mutex_lock()
341 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_unlock() local
349 if (atomic_exchange_explicit(&mutex->state, unlocked, in __pthread_normal_mutex_unlock()
439 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_mutex_lock_with_timeout() local
445 if (old_state == unlocked) { in __pthread_mutex_lock_with_timeout()
458 if (old_state == unlocked) { in __pthread_mutex_lock_with_timeout()
565 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; in pthread_mutex_unlock() local
[all …]