bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Killing processes on system shutdow


From: Marcus Brinkmann
Subject: Re: Killing processes on system shutdow
Date: Fri, 24 Aug 2001 00:01:21 +0200
User-agent: Mutt/1.3.18i

On Thu, Aug 23, 2001 at 05:44:18PM -0400, Roland McGrath wrote:
> > a question regarding init/init.c::reboot_system(): Why do we only kill
> > processes, if we _are_ in a subhurd (i.e.: fakeboot is true)?
> 
> You mean, why not do it for a normal reboot as well?
> Do you wash your hands right before you get into the shower?

Uhhh, for a clean shutdown we should send processes the term signal,
to give them a chance to terminate voluntarily, maybe they have some
state they want to save.  In fact, I was under the impression
we did (I remember that shutdown came up before, and you or Thomas said
to me we already kill all processes before shutdown).

Thanks,
Marcus




reply via email to

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