On 04/14/2011 03:09 PM, Chet Ramey wrote:
I'm not sure I understand this. Why is using a temporary handler better
than blocking the signal until the trap handler is in place, then
unblocking it and allowing any pending signal to be delivered?
I just want some way to not ignore the signal. For example handle the
signal after initialization of trap even if the signal is delivered
during this initialization.
I don't think you are understanding what I'm proposing. Blocking the signal
with sigprocmask(SIG_BLOCK, ...) does the right thing.
I didn't understand, but now I do. Thanks for clarification and sorry...
RR