std::condition_variable_any::~condition_variable_any

Da cppreference.com.

 
 
Discussione libreria di supporto
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.
thread(C++11)
this_thread spazio dei nomi
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.
get_id(C++11)
yield(C++11)
sleep_for(C++11)
sleep_until(C++11)
Mutua esclusione
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.
mutex(C++11)
timed_mutex(C++11)
Blocco di gestione generico
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.
lock(C++11)
try_lock(C++11)
defer_lock
try_to_lock
adopt_lock
(C++11)
(C++11)
(C++11)
Condizioni variabili
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.
condition_variable(C++11)
condition_variable_any(C++11)
notify_all_at_thread_exit(C++11)
cv_status(C++11)
Futures
Original:
Futures
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
promise(C++11)
future(C++11)
shared_future(C++11)
packaged_task(C++11)
async(C++11)
 
std::condition_variable_any
Membri funzioni
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
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
In attesa
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) (dal C++11)
Distrugge l'oggetto di 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.
E 'sicuro solo per richiamare il distruttore se tutti i fili sono stati notificati. Non è necessario che siano uscite le loro funzioni rispettive di attesa: alcuni fili potrebbe essere ancora in attesa di riacquisire il blocco associato, o può essere in attesa di essere programmato per attivarsi dopo riacquistare la.
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.
Il programmatore deve assicurarsi che nessun thread tenta di aspettare *this una volta che il distruttore è stato avviato, in particolare quando i thread in attesa stanno chiamando le funzioni di attesa in un ciclo o si utilizza gli overload delle funzioni di attesa che accettano un predicato.
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.

[modifica]Eccezioni

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