Namespaces
Variants
Views
Actions

std::cv_status

From cppreference.com
Defined in header <condition_variable>
enum class cv_status;
(since C++11)

The scoped enumeration std::cv_status defines the values returned by the member functions of std::condition_variable and of std::condition_variable_any that perform a timed wait.

[edit] 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

[edit] See also

blocks the current thread until the condition variable
is woken up or after the specified timeout duration
(public member function of std::condition_variable) [edit]
blocks the current thread until the condition variable
is woken up or after the specified timeout duration
(public member function of std::condition_variable_any) [edit]
blocks the current thread until the condition variable
is woken up 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 woken up or until specified time point has been reached
(public member function of std::condition_variable_any) [edit]