Searched refs:WaitBrieflyFor (Results 1 - 4 of 4) sorted by relevance
/arkcompiler/runtime_core/platforms/unix/libpandabase/futex/ |
H A D | fmutex.cpp | 124 static inline bool WaitBrieflyFor(ATOMIC_INT *addr) in WaitBrieflyFor() function 126 // We probably don't want to do syscall (switch context) when we use WaitBrieflyFor in WaitBrieflyFor() 198 if (!WaitBrieflyFor(&m->state_and_waiters_)) { in MutexLock() 199 // WaitBrieflyFor failed, go to futex wait in MutexLock() 247 if (!WaitBrieflyFor(&m->state_and_waiters_)) { in MutexTryLockWithSpinning() 248 // WaitBrieflyFor failed, means lock is held in MutexTryLockWithSpinning()
|
H A D | mutex.cpp | 55 static inline bool WaitBrieflyFor(std::atomic_int *addr, Pred pred) in WaitBrieflyFor() function 57 // We probably don't want to do syscall (switch context) when we use WaitBrieflyFor in WaitBrieflyFor() 148 if (!WaitBrieflyFor(&state_, [](int32_t state) { return state == UNLOCKED; })) { in WriteLock() 149 // WaitBrieflyFor failed, go to futex wait in WriteLock() 180 if (!WaitBrieflyFor(&state_, [](int32_t state) { return state >= UNLOCKED; })) { in HandleReadLockWait() 181 // WaitBrieflyFor failed, go to futex wait in HandleReadLockWait()
|
/arkcompiler/runtime_core/static_core/platforms/unix/libpandabase/futex/ |
H A D | mutex.cpp | 55 static inline bool WaitBrieflyFor(std::atomic_int *addr, Pred pred) in WaitBrieflyFor() function 57 // We probably don't want to do syscall (switch context) when we use WaitBrieflyFor in WaitBrieflyFor() 166 if (!WaitBrieflyFor(&state_, [](int32_t state) { return state == UNLOCKED; })) { in WriteLock() 167 // WaitBrieflyFor failed, go to futex wait in WriteLock() 195 if (!WaitBrieflyFor(&state_, [](int32_t state) { return state >= UNLOCKED; })) { in HandleReadLockWait() 196 // WaitBrieflyFor failed, go to futex wait in HandleReadLockWait()
|
H A D | fmutex.cpp | 122 static inline bool WaitBrieflyFor(ATOMIC_INT *addr) in WaitBrieflyFor() function 125 // We probably don't want to do syscall (switch context) when we use WaitBrieflyFor in WaitBrieflyFor() 222 if (!WaitBrieflyFor(&m->stateAndWaiters)) { in MutexLock() 223 // WaitBrieflyFor failed, go to futex wait in MutexLock() 254 if (!WaitBrieflyFor(&m->stateAndWaiters)) { in MutexTryLockWithSpinning() 255 // WaitBrieflyFor failed, means lock is held in MutexTryLockWithSpinning()
|
Completed in 4 milliseconds