[jdev] xmppony 0.1 is released!

Dirk Meyer dmeyer at tzi.de
Thu Apr 16 07:04:43 CDT 2009


Anaël Verrier wrote:
> I don't understand why people do not like threads :'(

Because you get race conditions

>From one of your other mails:
> Gajim uses non-blocking sockets to not have to use threads. I do not
> think only it is necessary to neglect the use of threads just to not
> have to be bored with, especially at the hour of the processors
> multi-cores.

Python does not benefit from multi-cores when using threads. The
interpreter lock makes multi-core useless unless you are in a C module
and release the lock. Gajim will not benefit from threads at all.


Dirk

-- 
Those that make the rules don't play the game!



More information about the JDev mailing list