Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Interrupting Perl from another thread under Win32

by Ryszard (Priest)
on Apr 21, 2004 at 10:39 UTC ( #346957=note: print w/replies, xml ) Need Help??


in reply to Interrupting Perl from another thread under Win32

Mmmmmm I dnt know if your problem lends its self to this, but, why not have the little utility listen on a socket for some kind of interupt signal.

You could poll the socket periodically and take whatever activity you need?

  • Comment on Re: Interrupting Perl from another thread under Win32

Replies are listed 'Best First'.
Re: Re: Interrupting Perl from another thread under Win32
by Stevie-O (Friar) on Apr 21, 2004 at 23:39 UTC
    Unfortunately, if it's stuck in an infinite loop, it's probably not going to be listening for a 'break out' signal.
    --Stevie-O
    $"=$,,$_=q>|\p4<6 8p<M/_|<('=> .q>.<4-KI<l|2$<6%s!<qn#F<>;$, .=pack'N*',"@{[unpack'C*',$_] }"for split/</;$_=$,,y[A-Z a-z] {}cd;print lc

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2021-04-10 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?