Searched refs:unlocked (Results 1 – 1 of 1) sorted by relevance
455 const int unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in _normal_lock() local463 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() local869 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()