Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: CTRL+C Handling in Perl Threads

by remiah (Hermit)
on Nov 27, 2012 at 10:54 UTC ( #1005838=note: print w/replies, xml ) Need Help??


in reply to Re^2: CTRL+C Handling in Perl Threads
in thread CTRL+C Handling in Perl Threads

I am working on FreeBSD.

First example showed me SIG_INT message with correcting a few typo. This time also shows me message like

0 - Sleeping 14
^CReceived Interrupt. Stopping Main Program   <==pressed ctrl+c
I wonder why?

Could you send SIG INT from another terminal? I mean by kill command.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005838]
help
Chatterbox?
[stevieb]: 16.96 hours of runtime of a Raspberry Pi on a 12v, 7.2Ah battery :) Now to watch now long it takes to recharge the battery completely with my 18v solar cells in the sun :)
[stevieb]: my high-range estimate was 18 hours

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (7)
As of 2017-03-26 15:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (315 votes). Check out past polls.