std::future_status - 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. |
<metanoindex/>
<tbody> </tbody>
| Elemento definito nell'header <future> |
||
|
|
(dal C++11) | |
Specifies state of a future as returned by wait_for and wait_until functions of std::future and std::shared_future.
Constant Original: Constant The text has been machine-translated via Google Translate. |
Explanation |
deferred
|
the shared state contains a deferred function, so the result will be computed only when explicitly requested |
ready
|
the shared state is ready |
timeout
|
the shared state did not become ready before specified timeout duration has passed |
Vedi anche
| waits for the result, returns if it is not available for the specified timeout duration (metodo pubblico) [modifica] | |
| waits for the result, returns if it is not available for the specified timeout duration (metodo pubblico) [modifica] | |
aspetta il risultato, restituisce se non è disponibile fino punto di tempo specificato è stato raggiunto Original: waits for the result, returns if it is not available until specified time point has been reached The text has been machine-translated via Google Translate. (metodo pubblico) [modifica] | |
aspetta il risultato, restituisce se non è disponibile fino punto di tempo specificato è stato raggiunto Original: waits for the result, returns if it is not available until specified time point has been reached The text has been machine-translated via Google Translate. (metodo pubblico) [modifica] | |