Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Re: Re: Child PID?

by perigeeV (Hermit)
on Jun 07, 2002 at 00:28 UTC ( #172399=note: print w/replies, xml ) Need Help??

in reply to Re: Re: Child PID?
in thread Child PID?

Reaping is generally used to describe the action of terminating zombie processes, which are children that have outlived their parent. Since their parent does not exist to clean up after the child, the kernel's process table retains the defunct child. Such zombies must be reaped.

Killing a process is a more general term used to describe the act of terminating an active process.

If you are trying to automate the response to a dialog box, that's different. Just killing it could be bad.

Replies are listed 'Best First'.
Re: Child PID?
by Abigail-II (Bishop) on Jun 07, 2002 at 11:33 UTC
    Note that in the program given, no zombies will be created as the handler for SIGCHLD is set to 'IGNORE' (which is the default on many OSses anyway).


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://172399]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2022-12-08 23:50 GMT
Find Nodes?
    Voting Booth?

    No recent polls found