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

Re: Re: Unsafe signals are called "Unsafe" for a reason, you know

by chip (Curate)
on Mar 19, 2004 at 18:19 UTC ( #338098=note: print w/replies, xml ) Need Help??

in reply to Re: Unsafe signals are called "Unsafe" for a reason, you know
in thread Upgrading Perl in production environment

What you so blithely describe as "lala land" is undefined behavior. It could be anything, including something incredibly destructive. It could be jumping into &main::destroy_all_monsters. It could be calling system("rm -rf $HOME"). It could be anything. (Get the point yet? No?)

That is why it unsafe signal handling is called "unsafe", and that is why there is NO situation in this particular universe where it is acceptable. At all. Ever. No exceptions.

Got it? No? Oh well. I'm giving up on educating you. But I was serious about wanting to know where that financial program is that uses unsafe signals. I really don't my money there. I'm totally serious about that.

    -- Chip Salzenberg, Free-Floating Agent of Chaos

Replies are listed 'Best First'.
Re: Re: Re: Unsafe signals are called "Unsafe" for a reason, you know
by jfroebe (Parson) on Mar 19, 2004 at 18:27 UTC

    Actually, I completely understand the ramifications of using the unsafe signals...

    Making a blanket statement is not necessarily wise... there are almost always exceptions to the rule.

    The fact remains that there are instances where the unsafe signals are required (say for timeouts involving DBD::Oracle). Avoiding the unsafe signals should be done when possible, when it is unavoidable, prepare for the worst.

    The perl engine should be fixed to make these 'unsafe' signals to be 'safe' (other engines are able to do this... so I see no reason why the perl engine can not be fixed).

    Until that happens, we will have to use unsafe signals when absolutely necessary and when there is no other option.

    Once again, the 'trading systems' was just an example of short maintenance windows.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://338098]
[AnomalousMonk]: choroba: It even has Rama's (relatively) high rate of spin, although I don't know if it's axial spin.
[LanX]: Rama spins?
LanX probably in my stomach
erix considers showing this to choroba , thinks better of it
[choroba]: LanX we used to mock Hare Krishna processions signing "Hare Rama" carrying the margarine conatiners

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2017-11-22 16:59 GMT
Find Nodes?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:

    Results (327 votes). Check out past polls.