|
BRL-CAD
|
Go to the source code of this file.
Macros | |
| #define | BU_SEC2USEC(sec) (1000000LL * (sec)) |
Functions | |
| int | bu_snooze (int64_t useconds) |
Routines for suspending the current thread of execution.
Definition in file snooze.h.
| #define BU_SEC2USEC | ( | sec | ) | (1000000LL * (sec)) |
| int bu_snooze | ( | int64_t | useconds | ) |
suspend the current thread for at least the specified number of microseconds.
this is a portability replacement for usleep(3).
returns 0 on success, non-zero on error