how to catch signals

Kragen Sitaker kragen at dnaco.net
Thu Mar 9 04:50:09 CET 2000


In article <38C6FE5D.E8AEB04E at cosc.canterbury.ac.nz>,
Greg Ewing  <greg at cosc.canterbury.ac.nz> wrote:
>Quinn Dunkan wrote:
>> 
>> the [SIGCHLD] handler doesn't always get called, 
>
>You can't rely on getting one SIGCHLD for every child that dies.
>If another child dies before you've finished responding to the
>SIGCHLD for the first one, you won't get another signal.

Depends on the OS.  Delivering another SIGCHLD if you return from the
signal handler while there are still zombie children is, I have heard,
the practice of some of the dark followers of the Svid.
-- 
<kragen at pobox.com>       Kragen Sitaker     <http://www.pobox.com/~kragen/>
The Internet stock bubble didn't burst on 1999-11-08.  Hurrah!
<URL:http://www.pobox.com/~kragen/bubble.html>
The power didn't go out on 2000-01-01 either.  :)



More information about the Python-list mailing list