diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-01 03:04:54 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-01 03:04:54 +0000 |
commit | 42b8b86c2abf1140ff5c8d74d48d4ece7deb56d7 (patch) | |
tree | 0ce11a1fcd5e2aecf881cc009d2fb14e55069de8 /README.win32 | |
parent | 8e858c0b3848dae7efc722f353d7f17ce1333a30 (diff) | |
download | perl-42b8b86c2abf1140ff5c8d74d48d4ece7deb56d7.tar.gz |
support kill(0,$pid) on Windows to test if process exists
p4raw-id: //depot/perl@5386
Diffstat (limited to 'README.win32')
-rw-r--r-- | README.win32 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/README.win32 b/README.win32 index 5499d3a4f4..830e129d7d 100644 --- a/README.win32 +++ b/README.win32 @@ -679,9 +679,9 @@ C<kill()> is implemented, but doesn't have the semantics of C<raise()>, i.e. it doesn't send a signal to the identified process like it does on Unix platforms. Instead it immediately calls C<TerminateProcess(process,signal)>. Thus the signal argument is -used to set the exit-status of the terminated process. In particular, -C<kill(0,$pid)> will kill the process identified by C<$pid> (unlike -on Unix). This behavior may change in future. +used to set the exit-status of the terminated process. However, +a signal of 0 can be used to safely check if the specified process +exists, as on Unix. =item * |