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

Re: sleep doesn't respond to sigint(2)?

by Abigail-II (Bishop)
on Oct 17, 2003 at 14:56 UTC ( [id://300025]=note: print w/replies, xml ) Need Help??


in reply to sleep doesn't respond to sigint(2)?

Are you running 5.8.x? Then you might be bitten by 'safe signals'. Delivery of signals is delayed until the next time Perl dispatches an op - and that might not happen until the sleep is finished. This is a problem on some OSses (I haven't been able to reproduce it under Linux), and therefore there's a fix in 5.8.1. By setting an environment variable (look at perldelta for the details), you can get the old behaviour back.

Abigail

  • Comment on Re: sleep doesn't respond to sigint(2)?

Replies are listed 'Best First'.
Re: Re: sleep doesn't respond to sigint(2)?
by RolandGunslinger (Curate) on Oct 17, 2003 at 15:25 UTC
    I'm running 5.8.0

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2025-04-20 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.