yielding control

James Kew james.kew at btinternet.com
Tue Oct 15 22:39:43 CEST 2002

"Rob Hall" <bloke at ii.net> wrote in message
news:3dac58a0$0$630 at echo-01.iinet.net.au...
> I can change the priority under W98 and thus gain gontrol of the OS.  But
> have to do that from outside my Python script.  I'd rather yield control
> the OS periodically from the script for simplicity's sake.

win32api.GetCurrentThread / win32process.SetThreadPriority ?

Documented in the ActiveState distribution under "Python On Windows
Extensions". Hit msdn.microsoft.com for documentation on the API functions
they wrap.


More information about the Python-list mailing list