Carl writes:
> > What I was describing was the masking of signals that is done
> > automatically when entering a signal handler and undone when exiting.
> > If you never exit the handler (ie you longjmp out of the handler),
> > the signal will never be reenabled.
> 
> That's why you use the POSIX functions sigsetjmp/siglongjmp.  These
> act like setjmp/longjmp except that they save and restore the set of
> blocked signals.

Aha!  Thank you.  I had a vague idea that there'd been another
possible fix but I'd forgotten what it was.  

Of course, the existence of a choice is the reason I didn't figure out
which one to go with and whether it worked...

A

Reply via email to