Rudiments
|
Static Public Member Functions | |
static bool | macrosnooze (long seconds) |
static bool | macrosnooze (long seconds, long *remainingseconds) |
static bool | microsnooze (long seconds, long microseconds) |
static bool | microsnooze (long seconds, long microseconds, long *secondsremaining, long *microsecondsremaining) |
static bool | nanosnooze (long seconds, long nanoseconds) |
static bool | nanosnooze (long seconds, long nanoseconds, long *secondsremaining, long *nanosecondsremaining) |
The snooze class provides methods for suspending process execution.
|
static |
Suspend execution for "seconds" seconds. Returns true on success and false on failure. snooze methods most commonly fail if they are interrupted by a signal.
|
static |
Suspend execution for "seconds" seconds. Returns true on success and false on failure. snooze methods most commonly fail if they are interrupted by a signal. "remainingseconds" is populated with the number of seconds that remained when the method was interrupted.
|
static |
Suspend execution for "seconds" seconds and "microseconds" microseconds. Returns true on success and false on failure. snooze methods most commonly fail if they are interrupted by a signal.
|
static |
Suspend execution for "seconds" seconds and "microseconds" microseconds. Returns true on success and false on failure. snooze methods most commonly fail if they are interrupted by a signal. "remainingseconds" and "remainingmicroseconds" are populated with the number of seconds and microseconds that remained when the method was interrupted.
|
static |
Suspend execution for "seconds" seconds and "nanoseconds" nanoseconds. Note that some systems do not have true nanosecond clock resolution. Returns true on success and false on failure. snooze methods most commonly fail if they are interrupted by a signal.
|
static |
Suspend execution for "seconds" seconds and "nanoseconds" nanoseconds. Note that some systems do not have true nanosecond clock resolution. Returns true on success and false on failure. snooze methods most commonly fail if they are interrupted by a signal. "remainingseconds" and "remainingnanoseconds" are populated with the number of seconds and nanoseconds that remained when the method was interrupted.