Searched refs:unlocked (Results 1 – 2 of 2) sorted by relevance
557 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in NormalMutexTryLock() local560 uint16_t old_state = unlocked; in NormalMutexTryLock()594 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in NormalMutexLock() local606 memory_order_acquire) != unlocked) { in NormalMutexLock()621 const uint16_t unlocked = shared | MUTEX_STATE_BITS_UNLOCKED; in NormalMutexUnlock() local629 if (atomic_exchange_explicit(&mutex->state, unlocked, in NormalMutexUnlock()731 const uint16_t unlocked = mtype | shared | MUTEX_STATE_BITS_UNLOCKED; in MutexLockWithTimeout() local737 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 …]
2580 TEST(STDIO_TEST, unlocked) { in TEST() argument