std::this_thread::sleep_for
From cppreference.com
Defined in header <thread>
|
||
template< typename Rep, typename Period > void sleep_for( std::chrono::duration<Rep, Period> sleep_duration ); |
Template:mark c++0x feature | |
Continues execution of the current thread only after specified sleep_duration
has been elapsed. It is not guaranteed that the thread will continue exactly after sleep_duration
has elapsed.
sleep_duration | - | time duration to sleep |
Template:returns Template:return none
Template:throws Template:throw none