Thread priorities?

Gary Robinson grobinson at
Tue Jun 14 21:09:48 CEST 2005

In the application we're writing ( it would be 
helpful for us to give one thread a higher priority than the others. We 
tried the recipe here:  
and it didn't seem to work for us.

We don't need many priority levels. We just need one thread to 
*temporarily* have a higher priority than others.

One thing that occurred to me: There wouldn't by any chance be some way 
a thread could grab the GIL and not let it go until it is ready to do 
so explicitly? That would have the potential to solve our problem.

Or maybe there's another way to temporarily let one thread have 
priority over all the others?



Gary Robinson
Emergent Music, LLC
grobinson at

More information about the Python-list mailing list