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

David Hopwood david.nospam.hopwood at blueyonder.co.uk
Mon Sep 4 18:24:56 CEST 2006

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.

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

More information about the Python-Dev mailing list