On 6/14/07, Chas Owens <[EMAIL PROTECTED]> wrote:
On 6/14/07, Bob McConnell <[EMAIL PROTECTED]> wrote:
snip
> Can I also send it a signal to
> wake it up from another process?
In theory you should be able to use kill to send the ALRM signal to
another process. I have not tried it.
snip
Looks like win32 doesn't do the right thing with kill:
"kill()" doesn't have the semantics of "raise()", i.e. it
doesn't send a signal to the identified process like it does on
Unix platforms. Instead "kill($sig, $pid)" terminates the pro‐
cess identified by $pid, and makes it exit immediately with
exit status $sig. As in Unix, if $sig is 0 and the specified
process exists, it returns true without actually terminating
it. (Win32)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/