SIGCHLD signal handling
Oleg Broytmann
phd at phd.russ.ru
Mon Sep 4 09:32:48 EDT 2000
On Mon, 4 Sep 2000, Olaf Meyer wrote:
> Oleg,
> thanks a lot. Your code does the trick :-)
Not my :) It was Carey Evans. Thanks Carey!
> Do you have any idea why the
> sys.stdin.readline()
> is interrupted by the signal handler?
Almost all libc routines are interruptable by signals. I think it is
configurable by POSIX signal functions (setsigmask etc), but I don't know
much details, and I don't know how Python implements these functions.
Read manuals, look into Python (and other) sources. Good luck.
Oleg.
----
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list
mailing list