http://qs321.pair.com?node_id=705906


in reply to using $SIG as an IPC interrupt?

There is SIGUSR1 and SIGUSR2 which I think is for this purpose.

Replies are listed 'Best First'.
Re^2: using $SIG as an IPC interrupt?
by bobbob (Acolyte) on Aug 21, 2008 at 18:07 UTC
    Thanks for the response. I am also a little concerned though that some other programs on the same machine could also be using these signals (or some programs in the future).
      Sending signals is restricted by the operating system - so no random user can send these signals, but only root and the user that your program runs under. (At least on unixish systems).
        I'm not sure I understand - are you saying there is a separate set of SIG signals per user? ie. that if an application running as root generates a SIGUSR1 it will be ignored by my perl code?

        (This is running on Solaris BTW)

        Thanks!