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

2006年9月04日 09:46:28 -0700

On 2006年9月04日 17:24:56 +0100, David Hopwood <[EMAIL PROTECTED]> 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.
Was this changed in a later edition? Otherwise, I don't understand what you
mean by this.
Jean-Paul
_______________________________________________
Python-Dev mailing list
[email protected]
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