Searched refs:futex (Results 1 – 4 of 4) sorted by relevance
/art/runtime/base/ |
D | mutex.cc | 447 if (futex(state_and_contenders_.Address(), FUTEX_WAIT_PRIVATE, cur_state, in ExclusiveLock() 601 futex(state_and_contenders_.Address(), FUTEX_WAKE_PRIVATE, kWakeOne, in ExclusiveUnlock() 649 futex(state_and_contenders_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in WakeupToRespondToEmptyCheckpoint() 702 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, nullptr, nullptr, 0) != 0) { in ExclusiveLock() 742 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in ExclusiveUnlock() 781 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, &rel_ts, nullptr, 0) != 0) { in ExclusiveLockWithTimeout() 825 if (futex(state_.Address(), FUTEX_WAIT_PRIVATE, cur_state, nullptr, nullptr, 0) != 0) { in HandleSharedLockContention() 903 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in WakeupToRespondToEmptyCheckpoint() 964 bool done = futex(sequence_.Address(), in RequeueWaiters() 1004 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 214 futex(state_.Address(), FUTEX_WAKE_PRIVATE, kWakeAll, nullptr, nullptr, 0); in SharedUnlock()
|
/art/runtime/ |
D | thread.cc | 314 int result = futex(tls32_.park_state_.Address(), in Park() 348 result = futex(tls32_.park_state_.Address(), in Park() 358 result = futex(tls32_.park_state_.Address(), in Park() 403 int result = futex(tls32_.park_state_.Address(), in Unpark() 1516 futex(pending_threads->Address(), FUTEX_WAKE_PRIVATE, INT_MAX, nullptr, nullptr, 0); in PassActiveSuspendBarriers()
|
D | thread_list.cc | 736 if (futex(pending_threads.Address(), FUTEX_WAIT_PRIVATE, cur_val, &wait_timeout, nullptr, 0) in SuspendAllInternal()
|