Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_mutex.cpp277 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_trylock() local
280 uint16_t old_state = unlocked; in __pthread_normal_mutex_trylock()
314 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_normal_mutex_lock() local
326 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()
442 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_mutex_lock_with_timeout() local
448 if (old_state == unlocked) { in __pthread_mutex_lock_with_timeout()
461 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 …]