Re: capturing system shutdown signals?
Stas Boukarev <[email protected]>
| Newsgroups | gmane.lisp.steel-bank.general |
|---|---|
| Message-ID | <CAF63=101xuHoP_8sB2fXjLMmbxXbCHgxQuyrARaEuD4RQQHesA@mail.gmail.com> |
The best way to survive SIGKILL would be... not deleting the binary file until finishing writing. On Sat, Apr 27, 2024 at 2:00 AM Michał "phoe" Herda <[email protected]> wrote: > On 27.04.2024 00:51, Grégory Vanuxem wrote: > > You will first need to handle the SIGTERM, 15 , but eventually 9, hard > > kill. > You won't need to, or even be able to, handle SIGKILL inside SBCL. > Handling SIGTERM with a clean unwind (and doing it fast enough, before > the OS follows up with SIGKILL) is probably your only good bet. > _______________________________________________ Sbcl-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sbcl-help