Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread.c455 const int unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in _normal_lock() local
463 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) != 0) { in _normal_lock()
481 while (__bionic_swap(locked_contended, &mutex->value) != unlocked) in _normal_lock()
864 const int unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in pthread_mutex_lock_timeout_np_impl() local
869 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) == 0) { in pthread_mutex_lock_timeout_np_impl()
875 while (__bionic_swap(locked_contended, &mutex->value) != unlocked) { in pthread_mutex_lock_timeout_np_impl()