Searched refs:unlocked (Results 1 – 1 of 1) sorted by relevance
310 const int unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in _normal_lock() local318 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) != 0) { in _normal_lock()336 while (__bionic_swap(locked_contended, &mutex->value) != unlocked) { in _normal_lock()631 const int unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in __pthread_mutex_timedlock() local636 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) == 0) { in __pthread_mutex_timedlock()642 while (__bionic_swap(locked_contended, &mutex->value) != unlocked) { in __pthread_mutex_timedlock()