Clock implementation for Windows.  The MIN_SLEEP and SLEEP_UNDERSHOT parameters may need to be tweaked separately on each platform, I haven't touched them yet.
Clock implementation for Windows.  The MIN_SLEEP and SLEEP_UNDERSHOT
parameters may need to be tweaked separately on each platform, I haven't
touched them yet.

Refactored Clock so that time and usleep are instance variables instead
of function parameters.  I'm still not convinced that set_fps is a good
name for the method, but it's unchanged for now.

(Writing sleep functions while insomnic, look! the irony!)

--HG--
extra : convert_revision : svn%3A14d46d22-621c-0410-bb3d-6f67920f7d95/trunk%4043

infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore,infowantstobeseen/pyglet-darwincore