The Sleep namespace class contains static methods that cause the current thread to sleep for the specified duration.
#include <Balau/System/Sleep.hpp>
The following static methods are declared.
| Method name | Description |
|---|---|
| sleep | Sleep for the indicated number of seconds. |
| milliSleep | Sleep for the indicated number of milli-seconds. |
| microSleep | Sleep for the indicated number of micro-seconds. |
| nanoSleep | Sleep for the indicated number of nano-seconds. |