std::future::wait_until
De cppreference.com
<metanoindex/>
<tbody> </tbody> template< class Clock, class Duration > std::future_status wait_until( const std::chrono::time_point<Clock,Duration>& timeout_time ); |
||
Aguarda o resultado se torne disponível. Blocos até
timeout_time especificado foi alcançado ou o resultado se torna disponível, o que ocorrer primeiro. Valor retorna identifica o estado do resultado. Podem bloquear por mais de até timeout_time foi atingido.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.
Parâmetros
| timeout_time | - | ponto de tempo máximo para bloquear até
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. |
Valor de retorno
| 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 |
Exceções
(Nenhum)
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.
Exemplo
| Esta seção está incompleta Motivo: sem exemplo |
