I have some source code that was compiled on Windows. I am converting it to run on Red Hat Linux.
The source code has included the he
Beyond usleep, the humble select with NULL file descriptor sets will let you pause with microsecond precision, and without the risk of SIGALRM complications.
SIGALRM
sigtimedwait and sigwaitinfo offer similar behavior.