Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: SIGINT Handler

by revdiablo (Prior)
on May 19, 2009 at 20:39 UTC ( #765025=note: print w/ replies, xml ) Need Help??


in reply to SIGINT Handler

There are a couple options. I've listed them in my order of my personal preference.

  1. Use Windows Task Scheduler instead
  2. Sleep for shorter period of time (implement a more intelligent scheduling algorithm)
  3. Disable safe signal handling. From perlipc:
    If you want the old signal behaviour back regardless of possible memory corruption, set the environment variable PERL_SIGNALS to "unsafe" (a new feature since Perl 5.8.1).


Comment on Re: SIGINT Handler

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2015-07-04 06:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (58 votes), past polls