Thread imbalance
Bryan Olson
fakeaddress at nowhere.org
Mon Feb 6 12:18:12 EST 2006
Tuvas wrote:
> The stuff that it runs aren't heavily processor intensive, but rather
> consistant. It's looking to read incoming data. For some reason when it
> does this, it won't execute other threads until it's done. Hmmm.
> Perhaps I'll just have to work on a custom read function that doesn't
> depend so much on processing power.
That is odd. Python should release its global lock while waiting
for I/O, and thus other threads should run. What read function
are you using? Can you provide a minimal example of your problem?
--
--Bryan
More information about the Python-list
mailing list