On Mon, Apr 7, 2008 at 8:16 AM, Jim Ursetto <[EMAIL PROTECTED]> wrote: > As is seconds->time. Using SVN 10369. > > #;1> (thread-sleep! 1) ; sleeps for 1 second > #;2> (thread-sleep! (seconds->time 1)) ; returns immediately > #;3> (thread-sleep! (milliseconds->time 1000)) ; returns immediately > > Looks like the contents of the time structure doesn't match what > ##sys#compute-time-limit is looking for.
The seconds/milliseconds argument must be absolute, not relative. As specified in srfi-18: (seconds->time x) ;procedure Converts into a time object the exact or inexact real number x representing the number of seconds elapsed since some implementation dependent reference point. cheers, felix _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
