|
From: | Markus Armbruster |
Subject: | Re: [Qemu-devel] [PATCH v5 1/4] shutdown: Simplify shutdown_signal |
Date: | Fri, 28 Apr 2017 16:42:27 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Eric Blake <address@hidden> writes: > There is no signal 0 (kill(pid, 0) has special semantics to probe whether > a process is alive), rather than actually sending a signal 0). So we > can use the simpler 0, instead of -1, for our sentinel of whether a > shutdown request due to a signal has happened. > > Suggested-by: Markus Armbruster <address@hidden> > Signed-off-by: Eric Blake <address@hidden> Reviewed-by: Markus Armbruster <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |