Searched refs:locked_contended (Results 1 - 1 of 1) sorted by relevance

/bionic/libc/bionic/
H A Dpthread_mutex.cpp315 const uint16_t locked_contended = shared | MUTEX_STATE_BITS_LOCKED_CONTENDED; local
318 // promoting it to locked_contended. We need to swap in the new state
325 while (atomic_exchange_explicit(&mutex->state, locked_contended,
327 if (__futex_wait_ex(&mutex->state, shared, locked_contended, use_realtime_clock,
342 const uint16_t locked_contended = shared | MUTEX_STATE_BITS_LOCKED_CONTENDED; local
344 // We use an atomic_exchange to release the lock. If locked_contended state
350 memory_order_release) == locked_contended) {
356 // with locked_contended state, which means that when it eventually releases
444 const uint16_t locked_contended = mtype | shared | MUTEX_STATE_BITS_LOCKED_CONTENDED; local
462 // NOTE: We put the state to locked_contended sinc
[all...]

Completed in 18 milliseconds