Skip to content

Fix #26: Use nanosleep to sleep without being interrupted

Raymond Toy requested to merge rtoy-issue-26 into master

First, use nanosleep to sleep instead of using select. Then handle the case of nanosleep being interrupted wherein we keep calling nanosleep with the remaining time until the desired time has elapsed.

Merge request reports