Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: using $SIG as an IPC interrupt?

by lidden (Curate)
on Aug 21, 2008 at 17:56 UTC ( #705906=note: print w/replies, xml ) Need Help??


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!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://705906]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2023-11-29 12:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?