std::cv_status (3) - Linux Manuals
std::cv_status: std::cv_status
NAME
std::cv_status - std::cv_status
Synopsis
Defined in header <condition_variable>
enum class cv_status {
no_timeout, (since C++11)
timeout
};
The scoped enumeration std::cv_status describes whether a timed wait returned because of timeout or not.
std::cv_status is used by the wait_for and wait_until methods of std::condition_variable and std::condition_variable_any.
Member constants
Constant Explanation
no_timeout the condition variable was awakened with notify_all, notify_one, or spuriously
timeout the condition variable was awakened by timeout expiration
See also
wait_for (public member function of std::condition_variable)
wait_for (public member function of std::condition_variable_any)
wait_until (public member function of std::condition_variable)
wait_until (public member function of std::condition_variable_any)