On Sun, Mar 09, 2003 at 11:19:53PM +0100, Jerome Laban wrote:
> Hi,
> 
>     Did anyone had to intercept SIGKILL/SIGTERM from a C# application
> ? I'm trying to cleanly terminate application, but adding a new handler
> for these two signals in C does not seem to be enough...

>From signal(7) manpage:

  The signals SIGKILL and SIGSTOP cannot be caught, blocked, or  ignored.

Therefore you can only intercept SIGTERM.

-- 
: Michal Moskal ::::: malekith/at/pld-linux.org :  GCS {C,UL}++++$ a? !tv
: PLD Linux ::::::: Wroclaw University, CS Dept :  {E-,w}-- {b++,e}>+++ h

_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to