yielding control
James Kew
james.kew at btinternet.com
Tue Oct 15 16:39:43 EDT 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
I
> have to do that from outside my Python script. I'd rather yield control
to
> 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.
James
More information about the Python-list
mailing list