Skip to content
Snippets Groups Projects
Commit 5f7c4fea authored by Raymond Toy's avatar Raymond Toy
Browse files

Merge branch 'rtoy-issue-26' into 'master'

Fix #26: Use nanosleep to sleep without being interrupted

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.

See merge request !17
parents 0e172b4b 8743d581
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment