[Python-Dev] Signals, threads, blocking C functions (original) (raw)
David Hopwood david.nospam.hopwood at blueyonder.co.uk
Mon Sep 4 18:24:56 CEST 2006
- Previous message: [Python-Dev] Signals, threads, blocking C functions
- Next message: [Python-Dev] Signals, threads, blocking C functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Previous message: [Python-Dev] Signals, threads, blocking C functions
- Next message: [Python-Dev] Signals, threads, blocking C functions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]