std::this_thread::sleep_until
Da cppreference.com
![]() |
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
Definido no cabeçalho <thread>
|
||
template< class Clock, class Duration > void sleep_until( const std::chrono::time_point<Clock,Duration>& sleep_time ); |
(desde C++11) | |
Bloqueia a execução do segmento atual até
sleep_time
especificado foi alcançado. Podem bloquear por mais de até sleep_time
foi atingido.Original:
Blocks the execution of the current thread until specified
sleep_time
has been reached. May block for longer than until sleep_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.
Índice |
[editar] Parâmetros
sleep_time | - | tempo de bloquear até
Original: time 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. |
[editar] Valor de retorno
(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.
[editar] Exceções
[editar] Veja também
(C++11) |
interrompe a execução da thread atual por um período de tempo especificado Original: stops the execution of the current thread for a specified time duration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (função) |