std::cv_status
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <condition_variable>
|
||
enum class cv_status; |
(dal C++11) | |
Il
std::cv_status
enumerazione ambito descrive se un attesa a tempo restituito a causa di timeout o meno.Original:
The scoped enumeration
std::cv_status
describes whether a timed wait returned because of timeout or not.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
std::cv_status
viene utilizzato dai metodi wait_for
e wait_until
di std::condition_variable e std::condition_variable_any.Original:
std::cv_status
is used by the wait_for
and wait_until
methods of std::condition_variable and 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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Membri costanti
Constant
Original: Constant The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Explanation |
no_timeout
|
la variabile di condizione è stato svegliato con
notify_all , notify_one , o falsamente Original: the condition variable was awakened with notify_all , notify_one , or spuriously The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
timeout
|
la variabile di condizione è stato svegliato dal timeout di scadenza
Original: the condition variable was awakened by timeout expiration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Vedi anche
Blocca il thread corrente fino a quando la variabile di condizione è svegliato o dopo la durata del timeout specificato Original: blocks the current thread until the condition variable is woken up or after the specified timeout duration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
Blocca il thread corrente fino a quando la variabile di condizione è svegliato o dopo la durata del timeout specificato Original: blocks the current thread until the condition variable is woken up or after the specified timeout duration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
blocca il thread corrente fino a quando la variabile di condizione è svegliato o fino a che punto nel tempo specificato è stato raggiunto Original: blocks the current thread until the condition variable is woken up or until specified time point has been reached The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
blocca il thread corrente fino a quando la variabile di condizione è svegliato o fino a che punto nel tempo specificato è stato raggiunto Original: blocks the current thread until the condition variable is woken up or until specified time point has been reached The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |