Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^4: Implementing signals for Win32 Perl using named pipes

by Corion (Patriarch)
on Mar 11, 2008 at 11:50 UTC ( [id://673457]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Implementing signals for Win32 Perl using named pipes
in thread Implementing signals for Win32 Perl using named pipes

For the (imagined) central problem of sending an asynchronous message from outside the Perl process to the running Perl program, I think this emulation is sufficient. This at least brings the possibility to have some form of asynchronous communication between two Perl processes on Windows in a similar fashion as Unix.

Also, I imagine a fun application of SA_SIGINFO could be a hook like this:

$SIG{SIGINFO} = sub { my ($info) = @_; eval $info; };

which basically gives you a detachable console to any Perl process.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-19 04:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found