Miscellaneous

static inline void lace_sleep_us(int64_t microseconds)

Sleep for the given number of microseconds.

Uses nanosleep() and is precise to the microsecond on POSIX systems.

Parameters:

microseconds – Duration to sleep