Sleep for the given duration, returning early if interrupted.
Synopsis
Declared in <util/threadinterrupt.h>
virtual
bool
sleep_for(Clock::duration rel_time);
Return Value
true if the full duration elapsed, false if the sleep was interrupted.
Parameters
Name |
Description |
rel_time |
The duration to sleep for. |
Created with MrDocs