in reply to Re: Setting signal handlers considered unsafe?
in thread Setting signal handlers considered unsafe?
It is localizing $SIG{ALRM} that sets the signal handler to SIG_DFL. Presumably a side effect of $SIG{ALRM} being set to undef when it is localized.
That is stunningly unfriendly. Particularly as localisation is suggested in the documentation (perlipc).
Looks like a bug to me... or at least in need of a serious (additional) caveat in the documentation ?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Setting signal handlers considered unsafe?
by ikegami (Patriarch) on Nov 09, 2008 at 18:07 UTC | |
by gone2015 (Deacon) on Nov 09, 2008 at 19:34 UTC | |
by ikegami (Patriarch) on Nov 09, 2008 at 20:03 UTC | |
by gone2015 (Deacon) on Nov 10, 2008 at 00:06 UTC | |
by ikegami (Patriarch) on Nov 10, 2008 at 08:58 UTC | |
|