std::future::wait_until
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. |
template< class Clock, class Duration > std::future_status wait_until( const std::chrono::time_point<Clock,Duration>& timeout_time ); |
||
Attende che il risultato diventi disponibile. Blocchi fino
timeout_time
specificato è stato raggiunto o il risultato sarà disponibile, quello che viene prima. Valore ritorna identifica lo stato del risultato. Può bloccare per più di fino timeout_time
è stato raggiunto.Original:
Waits for the result to become available. Blocks until specified
timeout_time
has been reached or the result becomes available, whichever comes first. Returns value identifies the state of the result. May block for longer than until timeout_time
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.
You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica] Parametri
timeout_time | - | punto di tempo massimo per bloccare fino
Original: maximum time point to block until The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[modifica] Valore di ritorno
Constant | Explanation |
---|---|
future_status::deferred | The function to calculate the result has not been started yet |
future_status::ready | The result is ready |
future_status::timeout | The timeout has expired |
[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.
You can help to correct and verify the translation. Click here for instructions.
[modifica] Esempio
This section is incomplete Reason: no example |
[modifica] Vedi anche
attende il risultato diventi disponibile Original: waits for the result to become available The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
waits for the result, returns if it is not available for the specified timeout duration (metodo pubblico) |