[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SIGINT handling



>    I'm sort-of confused that es doesn't do this, but isn't it always
>    safe to re-arm the signal handler?  That's what I do in my code...
> 
> no.  if you get two signals before you get a chance to reinstate
> the handler, you're stuffed.  here's some things i use:

I interpreted Rich's comments to mean, "use sigaction, etc where
possible, but re-instate the sig handler anyway, even if you
shouldn't have to."

steve