Article View: comp.sys.next.programmer
Article #1826Re: zombies (was Re: What does a task with priority -1 mean?)
From: Heiko W.Rupp
Date: Tue, 17 Nov 1992 17:32
Date: Tue, 17 Nov 1992 17:32
20 lines
1492 bytes
1492 bytes
[ Distribution usa as on Ray's article does not work - besides why do ] [ you want people outside usa not to get your articles? ] cc100aa@xray.gatech.edu (Ray Spalding) writes: >To avoid zombies, a UNIX process doing a fork (a parent process) >must reap it's child(ren). This is done by some varient of the >wait(2) system call, and it may be helpful to install a SIGCHLD >handler. The man pages seem to imply that wait() is an optional >feature, but failure to call it will result in a zombie. I think this description isn't quite correct, but I may be wrong: You only get a zombie, when the parent exits without wait(2)ing for its childs. When you can be shure, that the children die before the parent, you don't need to wait(2), but you may for other reasons. -- Heiko W.Rupp Gerwigstr.5 7500 Kh'e 1 hwr@pilhuhn.ka.sub.org +49 721 693642 When the weight of the paperwork equals the weight of the plane, the plane will fly. -- Donald Douglas
Technical Details
Message-ID:
<1992Nov17.173236.11953@pilhuhn.ka.sub.org>Path:
arc1-ca.pugleaf.net!sparky!uunet!pipex!ibmpcug!exnet2!flatlin!pilhuhn!hwrReferences:
<1dmp94INNppe@uwm.edu> <1992Nov10.152955.21859@menudo.uh.edu> <10NOV199210153953@mpx2.lampf.lanl.gov> <74594@hydra.gatech.EDU>Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!pipex!ibmpcug!exnet2!flatlin!pilhuhn!hwr From: hwr@pilhuhn.ka.sub.org (Heiko W.Rupp) Subject: Re: zombies (was Re: What does a task with priority -1 mean?) References: <1dmp94INNppe@uwm.edu> <1992Nov10.152955.21859@menudo.uh.edu> <10NOV199210153953@mpx2.lampf.lanl.gov> <74594@hydra.gatech.EDU> Date: Tue, 17 Nov 1992 17:32:36 GMT Organization: The Home of the Pilhuhn Message-ID: <1992Nov17.173236.11953@pilhuhn.ka.sub.org> Lines: 20