Use a library for native sleeps to avoid busyloops
Merge pull request #13 from riking/nativesleep

Use a library for native sleeps to avoid busyloops