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