std::condition_variable:: condition_variable
From cppreference.net
<
cpp
|
thread
|
condition variable
C++
Concurrency support library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::condition_variable
| Member functions | ||||
|
condition_variable::condition_variable
|
||||
| Notification | ||||
| Waiting | ||||
| Native handle | ||||
|
condition_variable
(
)
;
|
(1) | (depuis C++11) |
|
condition_variable
(
const
condition_variable
&
)
=
delete
;
|
(2) | (depuis C++11) |
1)
Construit un objet de type
std::condition_variable
.
2)
Le constructeur de copie est supprimé.
Paramètres
(aucun)
Exceptions
1)
Peut lever
std::system_error
avec
std::error_condition
égal à
std::errc::operation_not_permitted
si le thread n'a pas les privilèges pour créer une variable de condition,
std::errc::resource_unavailable_try_again
si une limitation de ressources non-mémoire empêche cette initialisation, ou une autre valeur définie par l'implémentation.
Voir aussi
|
Documentation C
pour
cnd_init
|