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

RE: [PATCH] Fix kill(0, $pid) on Windows

Thread Previous | Thread Next
From:
Jan Dubois
Date:
April 17, 2007 10:52
Subject:
RE: [PATCH] Fix kill(0, $pid) on Windows
Message ID:
027f01c78119$0d58aff0$280a0fd0$@com
On Tue, 17 Apr 2007, Steve Hay wrote:
> Jan Dubois wrote:
>> PID 0 is used by the "System Idle Process".
>
> Doh! Yes, I see it in my Task manager now. I wonder why I didn't
> notice it before. Not enough coffee, obviously.

Maybe you didn't have "Show processes from all users" selected?

> The attached works OK for me (and fails OK if I revert your fix). Is
> this all right now?

Looks good to me.  Maybe you want to rename it to kill0.t, so that
tests that actually *do* send a signal are in a separate file?

Cheers,
-Jan


Thread Previous | Thread Next


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