Defined in header
Atomically unlocks the mutex pointed to by
mutex and blocks on the condition variable pointed to by
cond until the thread is signalled by cnd_signal or cnd_broadcast, or until the TIME_UTC based time point pointed to by
time_point has been reached, or until a spurious wake-up occurs. The mutex is locked again before the function returns.
The behavior is undefined if the mutex is not already locked by the calling thread.
|cond||-||pointer to the condition variable to block on|
|mutex||-||pointer to the mutex to unlock for the duration of the block|
|duration||-||pointer to a object specifying timeout time to wait until|
 Return value
- C11 standard (ISO/IEC 9899:2011):
- 22.214.171.124 The cnd_timedwait function (p: 379-380)
 See also
| blocks on a condition variable |
C++ documentation for condition_variable::wait_until
C++ documentation for condition_variable_any::wait_until