Mike Klaas пишет:

> I'm not sure how having python execute code at an arbitrary time would
> _reduce_ race conditions and/or deadlocks. And if you want to make it
> safe by executing code that shares no variables or resources, then it
> is no less safe to use threads, due to the GIL.
>
Ok. And what about a huge thread overhead? Just try to start 10-50k 
threading timers :)

> If you can write you application in an event-driven way, Twisted might
> be able to do what you are looking for.

I don't like an idea of Twisted: you want the banana, but get the whole 
gorilla as well :)
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to