Date: Tue, 20 Mar 2001 22:07:53 -0700 From: "Justin T. Gibbs" <gibbs@scsiguy.com> To: Ian Dowse <iedowse@maths.tcd.ie> Cc: Robert Watson <rwatson@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/reboot reboot.c Message-ID: <200103210507.f2L57rs76820@aslan.scsiguy.com> In-Reply-To: Your message of "Tue, 20 Mar 2001 18:57:57 GMT." <200103201857.aa69023@salmon.maths.tcd.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
>Good point. It seems that there are just two implementations... Why not put an implementation in libutil or some other place where they can be shared. >I could implement a similar dynamic delay in init I suppose. On my >laptop I was seeing page-ins occurring for about 20 seconds after >the SIGTERM, so 10 seconds isn't always enough. Is there any portion of the process state that the shutdown code could monitor to see if this is the reason for the delay? Picking an arbitrary number feels wrong. It would be nice if processes could provide some type of status that, if left unchanged for a period of time, indicated they were stuck and waranted a shot through the head. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103210507.f2L57rs76820>