[Tutor] alternative to time.sleep()

Kyle Babich Kyle Babich" <kb@kb5.org
Sun, 7 Jul 2002 20:04:07 +0000


Ok, that's definetly a downside but how do I suspend it at all?

On Sun, 7 Jul 2002 16:07:52 +0200 (MEST), lumbricus@gmx.net said:
> > I'm looking for an alternative to time.sleep() that will visually
> > countdown/countup the sleep time and can be paused and resumed at any
> 
> >From the OSF1 manpage of sleep(3):
> 
> " The suspension time may be longer than
> requested due to the scheduling of other activity by the system.
> In a multi-threaded environment, the sleep() function is redefined so
> that
> only the calling thread is suspended."
> 
> These may cause problems.
> 
> > point.  Any ideas?
> > 
> > Thanks
> > --
> > Kyle
> 
> HTH, HAND
> J"o!
> 
> -- 
> 
> -- 
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> 
> 
> 
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> http://mail.python.org/mailman/listinfo/tutor
> 
> 
> 
> 

--
Kyle