Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > meaning of "child processes are reaped"

Reply
Thread Tools

meaning of "child processes are reaped"

 
 
bernd
Guest
Posts: n/a
 
      09-26-2006
Hello folks,

not very experienced with interprocess communication and not a native
English speaker I would like to know what the meaning of the expression
"child processes are reaped" is. I encountered it in connection with
Perl's waitpid-function.

Could somebody explain this term?

Cheers


Bernd

 
Reply With Quote
 
 
 
 
anno4000@radom.zrz.tu-berlin.de
Guest
Posts: n/a
 
      09-26-2006
bernd <(E-Mail Removed)> wrote in comp.lang.perl.misc:
> Hello folks,
>
> not very experienced with interprocess communication and not a native
> English speaker I would like to know what the meaning of the expression
> "child processes are reaped" is. I encountered it in connection with
> Perl's waitpid-function.
>
> Could somebody explain this term?


Under Unix, when a process exits while its parent process is still
active, the process doesn't go away entirely. The entry in the process
table is kept around containing the exit status and CPU time consumed.
The parent process can access this information through the wait() and
waitpid() commands. Only then, or when the parent process exits itself,
is the process entry released entirely.

This procedure is likened to the mythical situation after a person's
death. The deceased's soul hangs around as a zombie until Death
(the Grim Reaper) comes and takes care of it. Thus the term "reaper"
for the procedure that calls waitpid() on the PIDs of finished child
processes.

Anno
 
Reply With Quote
 
 
 
 
bernd
Guest
Posts: n/a
 
      09-26-2006
Hi Anno,

thank You for the detailed and plastically explanation. Brings me
further

Cheers


Bernd

http://www.velocityreviews.com/forums/(E-Mail Removed)-berlin.de wrote:
> bernd <(E-Mail Removed)> wrote in comp.lang.perl.misc:
> > Hello folks,
> >
> > not very experienced with interprocess communication and not a native
> > English speaker I would like to know what the meaning of the expression
> > "child processes are reaped" is. I encountered it in connection with
> > Perl's waitpid-function.
> >
> > Could somebody explain this term?

>
> Under Unix, when a process exits while its parent process is still
> active, the process doesn't go away entirely. The entry in the process
> table is kept around containing the exit status and CPU time consumed.
> The parent process can access this information through the wait() and
> waitpid() commands. Only then, or when the parent process exits itself,
> is the process entry released entirely.
>
> This procedure is likened to the mythical situation after a person's
> death. The deceased's soul hangs around as a zombie until Death
> (the Grim Reaper) comes and takes care of it. Thus the term "reaper"
> for the procedure that calls waitpid() on the PIDs of finished child
> processes.
>
> Anno


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controlling processes and what to "feed" other processes Marc Heiler Ruby 1 05-24-2009 05:37 PM
Understanding search queries, semantics, and "Meaning" ...aren't weall looking for meaning? 5lvqbwl02@sneakemail.com Python 4 01-14-2009 02:28 PM
processes and threads: meaning of vesting John Goche C++ 2 11-15-2006 05:41 PM
Meaning of output value? Sander Odekerken VHDL 2 05-18-2004 05:41 PM
How do I: Main thread spawn child threads, which child processes...control those child processes? Jeff Rodriguez C Programming 23 12-09-2003 11:06 PM



Advertisments