Searched refs:futex (Results 1 – 2 of 2) sorted by relevance
/art/runtime/base/ |
D | mutex.cc | 373 if (futex(state_.Address(), FUTEX_WAIT, 1, nullptr, nullptr, 0) != 0) { in ExclusiveLock() 477 futex(state_.Address(), FUTEX_WAKE, 1, nullptr, nullptr, 0); in ExclusiveUnlock() 560 if (futex(state_.Address(), FUTEX_WAIT, cur_state, nullptr, nullptr, 0) != 0) { in ExclusiveLock() 601 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in ExclusiveUnlock() 636 if (futex(state_.Address(), FUTEX_WAIT, cur_state, &rel_ts, nullptr, 0) != 0) { in ExclusiveLockWithTimeout() 674 if (futex(state_.Address(), FUTEX_WAIT, cur_state, nullptr, nullptr, 0) != 0) { in HandleSharedLockContention() 792 done = futex(sequence_.Address(), FUTEX_CMP_REQUEUE, 0, in Broadcast() 815 int num_woken = futex(sequence_.Address(), FUTEX_WAKE, 1, nullptr, nullptr, 0); in Signal() 840 if (futex(sequence_.Address(), FUTEX_WAIT, cur_sequence, nullptr, nullptr, 0) != 0) { in WaitHoldingLocks() 879 if (futex(sequence_.Address(), FUTEX_WAIT, cur_sequence, &rel_ts, nullptr, 0) != 0) { in TimedWait()
|
D | mutex-inl.h | 43 static inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, in futex() function 166 futex(state_.Address(), FUTEX_WAKE, -1, nullptr, nullptr, 0); in SharedUnlock()
|