threading priority

Peter Hansen peter at engcorp.com
Fri Apr 2 06:53:23 EST 2004


Joe Wong wrote:

> Hi, Is there any way to increase/decrease a thread priority in Python?

Not really, and as Python does not use a "free-threading" model,
it wouldn't work as you'd like anyway.

Search Google for "Python GIL" or "Global Interpreter Lock" and you
should learn enough to see why this is so.

-Peter



More information about the Python-list mailing list