emacs-devel
[Top][All Lists]
Advanced

[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


From: mail
Subject: Re: Functions in kill-emacs-hook aren't run if emacs gets killed with SIGTERM
Date: Thu, 22 Jan 2009 19:15:30 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Eli Zaretskii <address@hidden> writes:
>> From: Tassilo Horn <address@hidden>
>> Is SIGTERM really such a fatal signal as you say?  I always believed
>> SIGTERM meant "shutdown, but do it cleanly" whereas SIGKILL meant "Die!
>> Die! Die! NOW!".
>
> No, the reason is that SIGKILL cannot be caught or ignored, whereas
> SIGTERM can.  Which has the practical effect that you mention, but
> it's IMO important to understand the underlying reason.

I don't understand what you're trying to say. The reason that SIGKILL
cannot be ignored is that it means "Die! Die! Die! NOW!", and the reason
that SIGTERM can is that it means "shutdown, but do it cleanly". Ie, the
reasons and practical effects are exactly opposite of what you seem to
be saying: could you explain in more detail?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]