Kevin Brodsky wrote:
> To be fair, killing oneself when receiving SIGINT is quite
> counter-intuitive, POSIX is not helping here.

Really?  It seems intuitive to me that at any trap handling level one
should handle what needs to be handled and then raise the signal
higher to the next level of the program.  Software is all about layers
and abstraction.  Sending the signal to one self to raise the signal
again feels good to me.

POSIX even added a raise(3) call to make this easier.  (Although I
still do things the old way.)

  man 3 raise

Bob

Reply via email to