in reply to Re: Preforking using share mem
in thread Preforking using share mem

I think he is asking why the second SIGHUP handler is installed at all. Shouldn't the first one handle all cases, especially since the localized one is identical to the inherited one. I can understand if you got to a point where you wanted to assign different behavior in the second handler, but in the above case it doesn't really make sense to me either.

Do you know what might be happening here Abigail-II?

"Nothing is sure but death and taxes" I say combine the two and its death to all taxes!

Replies are listed 'Best First'.
Re: Preforking using share mem
by Abigail-II (Bishop) on Jul 24, 2002 at 16:56 UTC
    I dunno about you, but in my Perl die is not a no-op.

    As I said, the installed handlers are _different_. The second one dies, the first one doesn't. The dying one is inside an eval. Hmmmm, smells like an exception handling.

    Abigail

      Absolutly right...I was looking at the snippet before my coffee, and at first AM hazy glance they looked the same.

      Thanks :)

      "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!