在线文档教程
C++
线程支持 | Thread support

std::cv_status

性病::简历[医]地位

Defined in header
enum class cv_status;(since C++11)

范围枚举std::cv_status描述是否由于超时而返回时间等待。

std::cv_statuswait_forwait_until方法std::condition_variablestd::condition_variable_any...

成员常数

ConstantExplanation
no_timeoutthe condition variable was awakened with notify_all, notify_one, or spuriously
timeoutthe condition variable was awakened by timeout expiration

另见

wait_forblocks the current thread until the condition variable is woken up or after the specified timeout duration (public member function of std::condition_variable)
wait_forblocks the current thread until the condition variable is woken up or after the specified timeout duration (public member function of std::condition_variable_any)
wait_untilblocks 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)
wait_untilblocks 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)

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/线程/cv[医]地位