◐ Shell
clean mode source ↗

std::future::wait_until - cppreference.com

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.

Click here for the English version of this page

<metanoindex/>

<tbody> </tbody>

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.

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.

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

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.

Esempio

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) [modifica]
waits for the result, returns if it is not available for the specified timeout duration
(metodo pubblico) [modifica]