enum class
<condition_variable>

std::cv_status

enum class cv_status;
Condition variable status
Type that indicates whether a function returned because of a timeout or not.

Values of this type are returned by the wait_for and wait_until members of condition_variable and condition_variable_any .

It is defined as:
1
enum class cv_status { no_timeout, timeout };

Member constants

cv_status::no_timeout The function returned without a timeout (i.e., it was notified ).
cv_status::timeout The function returned because it reached its time limit (timeout).

See also

condition_variable::wait_for
Wait for timeout or until notified (public member function)
condition_variable::wait_until
Wait until notified or time point (public member function)

AltStyle によって変換されたページ (->オリジナル) /