develooper Front page | perl.perl5.porters | Postings from March 2007

Re: [perl #42101] Mass suicide occurs when running kill with an undefined value

Thread Previous
From:
Dave Mitchell
Date:
March 26, 2007 13:02
Subject:
Re: [perl #42101] Mass suicide occurs when running kill with an undefined value
Message ID:
20070326200343.GE5473@iabyn.com
On Mon, Mar 26, 2007 at 11:07:15AM -0700, gwcooper @ pcocd2. intel. com wrote:

>                 kill(15, undef);

An undefined value will be interpreted as zero, and sending a signal to
process 0 sends the signal to the whole process group of the current
process (on Linux it does, anyway).

So this is expected behaviour.

-- 
"You're so sadly neglected, and often ignored.
A poor second to Belgium, When going abroad."
    -- Monty Python, "Finland"

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About