Home
last modified time | relevance | path

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

/bionic/libc/bionic/
Dpthread_mutex.cpp557 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in NormalMutexTryLock() local
560 uint16_t old_state = unlocked; in NormalMutexTryLock()
594 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in NormalMutexLock() local
606 memory_order_acquire) != unlocked) { in NormalMutexLock()
621 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in NormalMutexUnlock() local
629 if (atomic_exchange_explicit(&mutex->state, unlocked, in NormalMutexUnlock()
731 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; in MutexLockWithTimeout() local
737 if (old_state == unlocked) { in MutexLockWithTimeout()
750 if (old_state == unlocked) { in MutexLockWithTimeout()
891 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; in pthread_mutex_unlock() local
[all …]
/bionic/tests/
Dstdio_test.cpp2580 TEST(STDIO_TEST, unlocked) { in TEST() argument