Searched refs:futex (Results 1 – 4 of 4) 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.cc | 313 int result = futex(tls32_.park_state_.Address(), in Park() 347 result = futex(tls32_.park_state_.Address(), in Park() 357 result = futex(tls32_.park_state_.Address(), in Park() 402 int result = futex(tls32_.park_state_.Address(), in Unpark() 1508 futex(pending_threads->Address(), FUTEX_WAKE_PRIVATE, INT_MAX, nullptr, nullptr, 0); in PassActiveSuspendBarriers()
|
D | thread_list.cc | 741 if (futex(pending_threads.Address(), FUTEX_WAIT_PRIVATE, cur_val, &wait_timeout, nullptr, 0) in SuspendAllInternal()
|