in reply to Killer

Actually, the POSIXly correct way of sending a signal is with the use of sigqueue() which should give some interesting benefits over your generic kill(). I realize that it hasn't really caught on but considering that I'm supposed to be a POSIX professional programmer dude, I thought i just might share that with you. Anyway, I DO use sigqueue because the receiver gets a nifty struct of info (especially useful with IPC, specifically mesgqs). Just a quick comment...

Replies are listed 'Best First'.
Re^2: Killer
by apotheon (Deacon) on Jan 01, 2006 at 11:09 UTC

    I'm curious about how this "POSIXly correct way" would translate into Perl code. I've actually recently written something to use in sort of a panic situation to get rid of a runaway process using something akin to kill('TERM', $pid); and would like to know how that matches up with notions of POSIX correctness, if there's any comparison to be made at all.

    print substr("Just another Perl hacker", 0, -2);
    - apotheon
    CopyWrite Chad Perrin