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-September/068596.html below:

[Python-Dev] Signals, threads, blocking C functions

[Python-Dev] Signals, threads, blocking C functionsDavid Hopwood david.nospam.hopwood at blueyonder.co.uk
Mon Sep 4 19:24:38 CEST 2006
Jean-Paul Calderone wrote:
> On Mon, 04 Sep 2006 17:24:56 +0100, David Hopwood <david.nospam.hopwood at blueyonder.co.uk> wrote:
> 
>>Jean-Paul Calderone wrote:
>>
>>>PyGTK would presumably implement its pending call callback by writing a
>>>byte to a pipe which it is also passing to poll().
>>
>>But doing that in a signal handler context invokes undefined behaviour
>>according to POSIX.
> 
> write(2) is explicitly listed as async-signal safe in IEEE Std 1003.1, 2004.

I stand corrected. I must have misremembered this.

-- 
David Hopwood <david.hopwood at blueyonder.co.uk>


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