std::cv_status
性病::简历[医]地位
Defined in header | | |
---|---|---|
enum class cv_status; | | (since C++11) |
范围枚举std::cv_status
描述是否由于超时而返回时间等待。
std::cv_status
被wait_for
和wait_until
方法std::condition_variable
和std::condition_variable_any
...
成员常数
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 |
另见
wait_for | blocks the current thread until the condition variable is woken up or after the specified timeout duration (public member function of std::condition_variable) |
---|---|
wait_for | 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) |
wait_until | 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) |
wait_until | 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) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。