Nick Ing-Simmons wrote: > What do you think of noting the sigmask before we call a signal handler > and restoring it if handler "dies"? (Leaving mask as handler leaves it > if handler runs to bottom - so that handler changing mask is still valid.) I think it is a most excellent suggestion. After all, if we already know what the signal mask was, why bother going asking the OS to tell us what it is? (I assume you aren't going to use sigprocmask to find out what it is) > That may not be quite what you would get with sigsetjmp() all the way > down - but would seem to be a reasonable compromise. In perl terms I think it will be indistinguishable. Alan BurlisonThread Previous | Thread Next