A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-December/070385.html below:

[Python-Dev] Non-blocking (asynchronous) timer without thread?

[Python-Dev] Non-blocking (asynchronous) timer without thread? [Python-Dev] Non-blocking (asynchronous) timer without thread?Evgeniy Khramtsov xramtsov at gmail.com
Sat Dec 23 07:53:25 CET 2006
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 :)
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4