std::this_thread::sleep_until
De 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. |
<metanoindex/>
<tbody> </tbody>| Déclaré dans l'en-tête <thread>
|
||
template< class Clock, class Duration > void sleep_until( const std::chrono::time_point<Clock,Duration>& sleep_time ); |
(depuis C++11) | |
Blocs l'exécution du thread actuel jusqu'à ce
sleep_time spécifié a été atteint. Peut bloquer plus longtemps que jusqu'à sleep_time a été atteint .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.
Paramètres
| sleep_time | - | le temps de bloquer jusqu'à ce que
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. |
Retourne la valeur
(Aucun)
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.
Exceptions
Voir aussi
(C++11) |
arrête l'exécution du thread courant pendant la durée spécifiée (fonction) |