Premature wakeup of time.sleep()

Peter Hansen peter at engcorp.com
Mon Sep 12 19:33:07 EDT 2005


Steve Horsley wrote:
> I think the sleep times are quantised to the granularity of the system 
> clock, shich varies from os to os. From memory, windows 95 has a 55mS 
> timer, NT is less (19mS?), Linux and solaris 1mS. All this is from 

For the record, the correct value for NT/XP family is about 15.6 ms 
(possibly exactly 64 per second and thus 15.625ms, but offhand I don't 
recall, though I'm sure Google does).

-Peter



More information about the Python-list mailing list