Searched refs:futex (Results 1 – 2 of 2) sorted by relevance
/art/runtime/base/ |
D | mutex-inl.h | 42 static inline int futex(volatile int *uaddr, int op, int val, const struct timespec *timeout, volat… in futex() function 164 if (futex(state_.Address(), FUTEX_WAIT, cur_state, NULL, NULL, 0) != 0) { in SharedLock() 199 futex(state_.Address(), FUTEX_WAKE, -1, NULL, NULL, 0); in SharedUnlock()
|
D | mutex.cc | 330 if (futex(state_.Address(), FUTEX_WAIT, 1, NULL, NULL, 0) != 0) { in ExclusiveLock() 423 futex(state_.Address(), FUTEX_WAKE, 1, NULL, NULL, 0); in ExclusiveUnlock() 506 if (futex(state_.Address(), FUTEX_WAIT, cur_state, NULL, NULL, 0) != 0) { in ExclusiveLock() 547 futex(state_.Address(), FUTEX_WAKE, -1, NULL, NULL, 0); in ExclusiveUnlock() 582 if (futex(state_.Address(), FUTEX_WAIT, cur_state, &rel_ts, NULL, 0) != 0) { in ExclusiveLockWithTimeout() 724 done = futex(sequence_.Address(), FUTEX_CMP_REQUEUE, 0, in Broadcast() 747 int num_woken = futex(sequence_.Address(), FUTEX_WAKE, 1, NULL, NULL, 0); in Signal() 772 if (futex(sequence_.Address(), FUTEX_WAIT, cur_sequence, NULL, NULL, 0) != 0) { in WaitHoldingLocks() 810 if (futex(sequence_.Address(), FUTEX_WAIT, cur_sequence, &rel_ts, NULL, 0) != 0) { in TimedWait()
|