Espaços nominais
Variantes
Acções

std::condition_variable_any::~condition_variable_any

Da cppreference.com

 
 
Biblioteca de suporte a discussão
Threads
Original:
Threads
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
this_thread namespace
Original:
this_thread namespace
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
Exclusão mútua
Original:
Mutual exclusion
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Gestão de bloqueio genérico
Original:
Generic lock management
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
Variáveis ​​de condição
Original:
Condition variables
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Futuros
Original:
Futures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
(C++11)
 
std::condition_variable_any
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
condition_variable_any::condition_variable_any
condition_variable_any::~condition_variable_any
Notificação
Original:
Notification
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
condition_variable_any::notify_one
condition_variable_any::notify_all
Espera
Original:
Waiting
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
condition_variable_any::wait
condition_variable_any::wait_for
condition_variable_any::wait_until
 
~condition_variable_any();
(1) (desde C++11)
Destrói o objeto de std::condition_variable_any tipo
Original:
Destroys the object of type std::condition_variable_any
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Só é seguro para invocar o destruidor se todos os segmentos foram notificados. Não é necessário que eles tenham saído de suas funções respectivas espera: alguns segmentos podem ainda estar à espera de readquirir o bloqueio associado, ou pode estar à espera de ser programado para ser executado depois de readquirir-lo.
Original:
It is only safe to invoke the destructor if all threads have been notified. It is not required that they have exited their respective wait functions: some threads may still be waiting to reacquire the associated lock, or may be waiting to be scheduled to run after reacquiring it.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
O programador deve garantir que nenhum tópicos tentar esperar *this uma vez que o processo de destruição foi iniciado, especialmente quando os segmentos de espera estão chamando as funções de espera em um loop ou estão usando as sobrecargas das funções de espera que levam um predicado.
Original:
The programmer must ensure that no threads attempt to wait on *this once the destructor has been started, especially when the waiting threads are calling the wait functions in a loop or are using the overloads of the wait functions that take a predicate.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[editar] Exceções

(Nenhum)
Original:
(none)
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.