Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread.c1040 const int unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in _normal_lock() local
1048 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) != 0) { in _normal_lock()
1066 while (__bionic_swap(locked_contended, &mutex->value) != unlocked) in _normal_lock()
1449 const int unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in pthread_mutex_lock_timeout_np_impl() local
1454 if (__bionic_cmpxchg(unlocked, locked_uncontended, &mutex->value) == 0) { in pthread_mutex_lock_timeout_np_impl()
1460 while (__bionic_swap(locked_contended, &mutex->value) != unlocked) { in pthread_mutex_lock_timeout_np_impl()