mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
Wrappers for std::this_thread::sleep_for
Functions | |
void | mx::sys::sleep (unsigned sec) |
Sleep for a specified period in seconds. More... | |
void | mx::sys::milliSleep (unsigned msec) |
Sleep for a specified period in milliseconds. More... | |
void | mx::sys::microSleep (unsigned usec) |
Sleep for a specified period in microseconds. More... | |
void | mx::sys::nanoSleep (unsigned nsec) |
Sleep for a specified period in nanoseconds. More... | |
void mx::sys::microSleep | ( | unsigned | usec | ) |
Sleep for a specified period in microseconds.
[in] | usec | the number of microseconds to sleep. |
Definition at line 61 of file timeUtils.cpp.
Referenced by SCENARIO().
void mx::sys::milliSleep | ( | unsigned | msec | ) |
Sleep for a specified period in milliseconds.
[in] | msec | the number of milliseconds to sleep. |
Definition at line 56 of file timeUtils.cpp.
Referenced by SCENARIO().
void mx::sys::nanoSleep | ( | unsigned | nsec | ) |
Sleep for a specified period in nanoseconds.
[in] | nsec | the number of microseconds to sleep. |
Definition at line 66 of file timeUtils.cpp.
Referenced by SCENARIO().
void mx::sys::sleep | ( | unsigned | sec | ) |
Sleep for a specified period in seconds.
[in] | sec | the number of seconds to sleep. |
Definition at line 51 of file timeUtils.cpp.
Referenced by SCENARIO().