[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Fri, 9 Aug 2002 15:41:00 +0100
Currently, thread-sleep! uses CPU time, not wall-clock time, to figure
out when to reawaken the thread, which seems odd. I've taken a look at
srfi-18, and it doesn't clearly state that wall-clock time should be
used, but IMHO wall-clock time is the most sensible interpretation,
and should be used.
If others agree, could we get thread-sleep! changed to use, say
gettimeofday(2) instead of clock(3)?
(Actually, (current-time) and (time->seconds) should also be
wall-clock-time, IMO. However, since they use a common mechanism, both
thread-sleep! and current-time et al can be changed at once.)
Monkeys high on math -- some of the best comedy on earth
- Tom Lord, regarding comp.lang.scheme
- [Chicken-users] (thread-sleep!),