|
|
Defined in header <condition_variable> | ||
enumclass cv_status{ no_timeout, | (since C++11) | |
The scoped enumerationstd::cv_status
describes whether a timed wait returned because of timeout or not.
std::cv_status
is used by thewait_for
andwait_until
member functions ofstd::condition_variable andstd::condition_variable_any.
Enumerator | Meaning |
no_timeout | the condition variable was awakened withnotify_all ,notify_one , or spuriously |
timeout | the condition variable was awakened by timeout expiration |
blocks the current thread until the condition variable is awakened or after the specified timeout duration (public member function of std::condition_variable )[edit] | |
blocks the current thread until the condition variable is awakened or after the specified timeout duration (public member function of std::condition_variable_any )[edit] | |
blocks the current thread until the condition variable is awakened or until specified time point has been reached (public member function of std::condition_variable )[edit] | |
blocks the current thread until the condition variable is awakened or until specified time point has been reached (public member function of std::condition_variable_any )[edit] |