Searched refs:futex (Results 1 – 3 of 3) sorted by relevance
/art/runtime/base/ |
D | mutex.cc | 382 if (futex(state_and_contenders_.Address(), FUTEX_WAIT_PRIVATE, cur_state, in ExclusiveLock() 487 futex(state_and_contenders_.Address(), FUTEX_WAKE_PRIVATE, kWakeOne, in ExclusiveUnlock() 535 futex(state_and_contenders_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in WakeupToRespondToEmptyCheckpoint() 589 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, nullptr, nullptr, 0) != 0) { in ExclusiveLock() 630 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in ExclusiveUnlock() 668 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, &rel_ts, nullptr, 0) != 0) { in ExclusiveLockWithTimeout() 709 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, nullptr, nullptr, 0) != 0) { in HandleSharedLockContention() 787 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in WakeupToRespondToEmptyCheckpoint() 848 bool done = futex(sequence_.Address(), in RequeueWaiters() 888 if (futex(sequence_.Address(), FUTEX_WAIT_PRIVATE, cur_sequence, nullptr, nullptr, 0) != 0) { in WaitHoldingLocks() [all …]
|
D | mutex-inl.h | 41 static inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, in futex() function 215 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in SharedUnlock()
|
/art/runtime/ |
D | thread_list.cc | 741 if (futex(pending_threads.Address(), FUTEX_WAIT_PRIVATE, cur_val, &wait_timeout, nullptr, 0) in SuspendAllInternal()
|