Browse thread
Sys.signal and an "Invalid argument" exception
-
Paul Argentoff
-
John Carr
- Damien Bobillot
-
John Carr
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-09-20 (17:52) |
From: | Damien Bobillot <damien.bobillot@m...> |
Subject: | Re: [Caml-list] Sys.signal and an "Invalid argument" exception |
John Carr wrote : >> Sys.signal Sys.sigkill (Sys.Signal_handle sighandler) > > Unix does not allow catching the KILL or STOP signal. > > On Solaris, the sigaction() manual warns: "The sig argument > specifies the signal and can be assigned any of the signals > specified in signal(3HEAD) except SIGKILL and SIGSTOP." Because, SIGKILL is the emergency quit signal, the last way to quit a process if standard methodes fail. -- Damien Bobillot