Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: CTRL+C Handling in Perl Threads

by zentara (Archbishop)
on Nov 27, 2012 at 10:46 UTC ( #1005836=note: print w/ replies, xml ) Need Help??


in reply to CTRL+C Handling in Perl Threads

See using the thread->kill() feature on linux. When it comes to threads, you must put the signal handler into the thread code block. The main thread receives the signal first, then internally passes it on to each thread, so each thread must have a handler.


I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh


Comment on Re: CTRL+C Handling in Perl Threads

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-11-27 18:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (187 votes), past polls