This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
OS X clock_nanosleep() emulation
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 14 Jan 2016 02:47:44 +0000 (21:47 -0500)
committerJarkko Hietaniemi <jhi@iki.fi>
Sat, 13 Feb 2016 16:39:11 +0000 (11:39 -0500)
commit3b614a5901c94c53be20071d8e9a13ce261bb1b6
tree2e5a5c46b9110ae68597849a64b56c5f7c9e81db
parent1e845d0cc6028e1285db33e93c9bd63d61b58340
OS X clock_nanosleep() emulation

https://developer.apple.com/library/ios/technotes/tn2169/_index.html
"High Precision Timers in iOS / OS X"

Returning the unspent time in the case of relative sleep is not implemented.
dist/Time-HiRes/HiRes.pm
dist/Time-HiRes/HiRes.xs
dist/Time-HiRes/Makefile.PL