enum class


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:
enum class cv_status { no_timeout, timeout };

Member constants

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

See also