On Sun, 2006-09-04 at 18:10 +0200, Dr.Ruud wrote:
> If the childs stopped earlier, and their PIDs got reused, you would kill
> wrong processes in this way.

That's why you have to keep accurate track of which processes are yours.
Most of the time this is not a problem since the PIDs will only get
recycled some 60_000 processes later. Unless your Perl program runs all
the time, this is a minor concern.

And it is also why many programmers rely on UNIX to send a HUP to all
the child processes when a process stops. UNIX doesn't get this wrong.


-- 
__END__

Just my 0.00000002 million dollars worth,
   --- Shawn

"For the things we have to learn before we can do them, we learn by doing them."
  Aristotle

* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to