std::condition_variable::condition_variable - cppreference.com (original) (raw)
| Member functions |
|---|
| condition_variable::condition_variable |
| condition_variable::~condition_variable |
| Notification |
| condition_variable::notify_one |
| condition_variable::notify_all |
| Waiting |
| condition_variable::wait |
| condition_variable::wait_for |
| condition_variable::wait_until |
| Native handle |
| condition_variable::native handle |
| condition_variable(); | (1) | (since C++11) |
|---|---|---|
| condition_variable( const condition_variable& ) = delete; | (2) | (since C++11) |
Constructs an object of type
std::condition_variable.Copy constructor is deleted.
[edit] Parameters
(none)
[edit] Exceptions
- May throw std::system_error with std::error_condition equal to std::errc::operation_not_permitted if the thread has no privilege to create a condition variable, std::errc::resource_unavailable_try_again if a non-memory resource limitation prevents this initialization, or another implementation-defined value.
[edit] See also
C documentation for cnd_init