Setting thread priorities
Gerald Kaszuba
gerald.kaszuba at gmail.com
Sun May 13 05:30:46 EDT 2007
Hi John
On May 13, 4:46 pm, John Nagle <n... at animats.com> wrote:
> There's no way to set thread priorities within Python, is there?
Not exactly. You can however use the ctypes module to access the o/s
methods of pthread_setschedparam() for UNIX and SetThreadPriority()
for Windows.
I'm not sure why this hasn't been implemented in Python.
Gerald
http://geraldkaszuba.com/
More information about the Python-list
mailing list