[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Execution continuing after SIGINT received
From: |
Bob Proulx |
Subject: |
Re: Execution continuing after SIGINT received |
Date: |
Sat, 5 Aug 2017 13:35:00 -0600 |
User-agent: |
NeoMutt/20170609 (1.8.3) |
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