Home
last modified time | relevance | path

Searched refs:futex (Results 1 – 4 of 4) sorted by relevance

/art/runtime/base/
Dmutex.cc428 if (futex(state_.Address(), FUTEX_WAIT, 1, nullptr, nullptr, 0) != 0) { in ExclusiveLock()
532 futex(state_.Address(), FUTEX_WAKE, 1, nullptr, nullptr, 0); in ExclusiveUnlock()
575 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in WakeupToRespondToEmptyCheckpoint()
629 if (futex(state_.Address(), FUTEX_WAIT, cur_state, nullptr, nullptr, 0) != 0) { in ExclusiveLock()
670 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in ExclusiveUnlock()
708 if (futex(state_.Address(), FUTEX_WAIT, cur_state, &rel_ts, nullptr, 0) != 0) { in ExclusiveLockWithTimeout()
749 if (futex(state_.Address(), FUTEX_WAIT, cur_state, nullptr, nullptr, 0) != 0) { in HandleSharedLockContention()
827 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in WakeupToRespondToEmptyCheckpoint()
883 done = futex(sequence_.Address(), FUTEX_CMP_REQUEUE, 0, in Broadcast()
906 int num_woken = futex(sequence_.Address(), FUTEX_WAKE, 1, nullptr, nullptr, 0); in Signal()
[all …]
Dmutex-inl.h41 static inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, in futex() function
169 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in SharedUnlock()
/art/runtime/
Dthread_list.cc756 if (futex(pending_threads.Address(), FUTEX_WAIT, cur_val, &wait_timeout, nullptr, 0) != 0) { in SuspendAllInternal()
Dthread.cc1308 futex(pending_threads->Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in PassActiveSuspendBarriers()