[Python-Dev] Re: Signal-resistant code (was: Two random and nearly unrelated ideas)

Greg Ewing greg@cosc.canterbury.ac.nz
Thu, 05 Sep 2002 12:38:09 +1200 (NZST)


Guido van Rossum <guido@python.org>:

> I have never understood why a child dying should send a signal.  You
> can poll for the child with waitpid() instead.

Because child termination might not be the only thing
you want to wait for.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+