A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2002-September/028662.html below:

Two random and nearly unrelated ideas)

[Python-Dev] Re: Signal-resistant code (was: Two random and nearly unrelated ideas) [Python-Dev] Re: Signal-resistant code (was: Two random and nearly unrelated ideas)Tim Peters tim.one@comcast.net
Fri, 06 Sep 2002 11:50:45 -0400
[Neal Norwitz]
> Python can open a pipe to itself.  When a signal arrives, write
> a character on the pipe in addition to setting a flag.
> Then select() on the pipe.

Of course you meant to say it should do WaitForSingleObject(), so that this
scheme is portable <wink>.

> I doubt this is worth the effort, though.

Few things are.




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