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
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