System signals
H. S. Teoh
hsteoh at quickfur.ath.cx
Sat Apr 28 15:23:04 PDT 2012
On Sun, Apr 29, 2012 at 12:16:15AM +0200, deadalnix wrote:
> Le 28/04/2012 22:04, Andrea Fontana a écrit :
> >How can i catch kill signal to gracefully shutdown my app?
> >
>
> This can be used for other signals : http://www.deadalnix.me/2012/03/24/get-an-exception-from-a-segfault-on-linux-x86-and-x86_64-using-some-black-magic/
>
> But still, you can't catch kill and it is linux specific.
AFAIK, SIGKILL cannot be caught on any posix system.
T
--
The easy way is the wrong way, and the hard way is the stupid way. Pick one.
More information about the Digitalmars-d
mailing list