Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: signals in win32?

by shmem (Chancellor)
on Oct 27, 2009 at 11:28 UTC ( [id://803421]=note: print w/replies, xml ) Need Help??


in reply to signals in win32?

You can only accept and deliver signals which your OS supports. To get a list of them, use e.g.

perl -le "print for sort keys %SIG"

update: the OP was modified after my answer, which doesn't make any sense know. Originally the OP was asking about how to implement or use or deliver (I don't remember very well) the USR1 signal on Windows.

Output from the above snippet on my box (linux)

ALRM BUS CHLD CLD CONT FPE HUP ... more signals... UNUSED URG USR1 USR2 VTALRM WINCH XCPU XFSZ

which is a list of the signals for that OS. I bet perl on windows features a different set of keys in %SIG.

Replies are listed 'Best First'.
Re^2: signals in win32?
by ikegami (Patriarch) on Oct 27, 2009 at 18:26 UTC

    Originally the OP was asking about how to implement or use or deliver (I don't remember very well) the USR1 signal on Windows.

    ah! It was:
    hello, How I can put unix siganls like usr2 into my perl daemon ran at windows?

    I bet perl on windows features a different set of keys in %SIG.

    ABRT ALRM BREAK CHLD CLD CONT FPE HUP ILL INT KILL NUM05 NUM06 NUM07 NUM10 NUM12 NUM16 NUM17 NUM18 NUM19 NUM24 PIPE QUIT SEGV STOP TERM

    Considering the OS has only two signals (Ctrl-C and Ctrl-Break)...

Re^2: signals in win32?
by ikegami (Patriarch) on Oct 27, 2009 at 14:32 UTC

    Aside from not doing what you said it does, I don't see how it helps the OP at all.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (3)
As of 2024-04-25 17:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found