Searched refs:FutexWait (Results 1 - 3 of 3) sorted by relevance

/fuchsia/zircon/kernel/object/include/object/
H A Dfutex_context.h32 // FutexWait first verifies that the integer pointed to by |value_ptr|
33 // still equals |current_value|. If the test fails, FutexWait returns FAILED_PRECONDITION.
37 zx_status_t FutexWait(user_in_ptr<const int> value_ptr, int current_value, zx_time_t deadline);
42 // FutexWait first verifies that the integer pointed to by |wake_ptr|
43 // still equals |current_value|. If the test fails, FutexWait returns FAILED_PRECONDITION.
/fuchsia/zircon/kernel/syscalls/
H A Dfutex.cpp21 return ProcessDispatcher::GetCurrent()->futex_context()->FutexWait(
/fuchsia/zircon/kernel/object/
H A Dfutex_context.cpp29 zx_status_t FutexContext::FutexWait(user_in_ptr<const int> value_ptr, int current_value, zx_time_t deadline) { function in class:FutexContext
36 // FutexWait() checks that the address value_ptr still contains
84 // there are waiting threads, then at least one FutexWait() call
90 // races with a FutexWait() deadline from pthread_mutex_timedlock(). A
93 // FutexWait() call returns a timeout status. If that happens, and if
214 // Note: When UnqueueNode() is called from FutexWait(), it might be
215 // tempting to reuse the futex key that was passed to FutexWait().

Completed in 30 milliseconds