A static only class to provide sleep functions, primarily for Windows. Although this file is in the utils library directory, it is not included in the library because everything that is needed is in the header. More...
#include "us_sleep.h"
Static Public Member Functions | |
static void | sleep (unsigned long secs) |
A static function that sleeps seconds. More... | |
static void | msleep (unsigned long msecs) |
A static function that sleeps milliseconds. More... | |
static void | usleep (unsigned long usecs) |
A static function that sleeps microseconds. More... | |
A static only class to provide sleep functions, primarily for Windows. Although this file is in the utils library directory, it is not included in the library because everything that is needed is in the header.
Definition at line 12 of file us_sleep.h.
|
inlinestatic |
A static function that sleeps milliseconds.
msecs | Milliseconds to sleep |
Definition at line 29 of file us_sleep.h.
|
inlinestatic |
A static function that sleeps seconds.
secs | Seconds to sleep |
Definition at line 20 of file us_sleep.h.
|
inlinestatic |
A static function that sleeps microseconds.
usecs | Microseconds to sleep |
Definition at line 38 of file us_sleep.h.