std::condition_variable
From Cppreference
Defined in header <condition_variable>
|
||
class condition_variable;
|
(since C++11) | |
The condition_variable class manages threads that wait on some mutex. The notification facilities are provided.
The class is not copy-constructible, move-constructible, copy-assignable, move-assignable.
This section is incomplete |
Contents |
[edit] Member types
Member type | Definition |
native_handle_type | implementation-defined |
[edit] Member functions
constructs the object (public member function) |
|
destructs the object (public member function) |
|
operator=
[deleted]
|
not copy-assignable (public member function) |
Notification | |
notifies one waiting thread (public member function) |
|
notifies all waiting threads (public member function) |
|
Waiting | |
blocks the current thread until the condition variable is woken up (public member function) |
|
blocks the current thread until the condition variable is woken up or after the specified timeout duration (public member function) |
|
blocks the current thread until the condition variable is woken up or until specified time point has been reached (public member function) |
|
Native handle | |
returns the native handle (public member function) |