python's thread problem on Linux platform

Irmen de Jong irmen.NOSPAM at xs4all.nl
Sat Apr 22 09:20:13 EDT 2006


devdoer at gmail.com wrote:
> I found that  multi-threaded program(io-centralize )  runs very slowly
> on linux while the same program   runs very quickly  on windows.If I
> change the thread number to one ,the program runs quickly  on linux, in
> fact the speed is quicker than the multi-threaded version .
> It turns out   that python's multi-thread support on linux has some
> problems.Any comments?
> 

Yes. There is a bug in your code.

--Irmen



More information about the Python-list mailing list