yielding control

Rob Hall bloke at ii.net
Tue Oct 15 12:35:41 EDT 2002


I have a long-running CPU intensive task under W98 and Python 2.2.  The
trouble is, it hogs the CPU when I am trying to do other things.  Even the
mouse is sluggish.

Is there a way for me to yield control to the OS occasionally in my main
loop?

Thanks in advance.

Rob





More information about the Python-list mailing list