On Feb 20, 2013, at 3:57, J Altfas <p...@bmedctr.com> wrote:

> On Tues, 19 Feb 2013 15:13:30 -0600> Jim Ursetto wrote: 
> 
> > Hmm, I just realized scheduler.scm relies on nanosleep(3) on UNIX, so I 
> > guess it is safe to use in posix-extras as well. I'll change posix-extras 
> > to use nanosleep shortly. 
> > 
> 
> After all the discussion and further study the merits of nanosleep are 
> clearer, and it nicely accommodates the fractional time specifier idea--it 
> really is a good match. 
> 
> Because the idea was interesting I took the liberty to attempt a simple 
> implementation of a nanosleep-based scheme sleep function: 

Indeed, yesterday I changed posix-extras' sleep to use nanosleep() in 0.1.5.  
The implementation is essentially the same as yours but it also uses Sleep() on 
Windows.  

Jim
_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to