[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SI
Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM
Sat, 24 Jan 2009 15:32:43 -0500
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
> We may also delay it indefinitely if we run Lisp, because that could
> infloop, especially if our internal data structures are unstable.
What makes you think our data structures might be unstable when we
get SIGTERM? AFAIK this signal is only received when some external
process decides that Emacs should stop, so data structures should be
just as stable as when we receive SIGUSRn.
> If SIGTERM is used to programmatically shut down Emacs, I think it's
> rather a conceptual bug in whatever uses SIGTERM for that purpose.
Huh? SIGTERM is *the canonical way* to programmatically shut down an
application via a signal.