Thread imbalance

Ivan Voras ivoras at fer.hr
Sat Feb 4 18:23:32 EST 2006


Tuvas wrote:

> waits for a lul in the computing process. How can I ensure that this
> does not happen? This thread uses little processing power, so it could
> be set to a high priority, if there is a way to do this. Thanks!

Python is bad for concurrently executing/computing threads, but it 
shouldn't be that bad - do you have lots of compute-intensive threads?

If you are running on a unix-like platform, see documentation for 
signal() and SIGALRM - maybe it will help your task.



More information about the Python-list mailing list