Thread priorities?

G

Gary Robinson

In the application we're writing (http://www.goombah.com) it would be
helpful for us to give one thread a higher priority than the others. We
tried the recipe here:
http://groups-beta.google.com/group/comp.lang.python/msg/6f0e118227a5f5de
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

--

Gary Robinson
CTO
Emergent Music, LLC
(e-mail address removed)
207-942-3463
Company: http://www.goombah.com
Blog: http://www.garyrobinson.net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,764
Messages
2,569,566
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top