Date: Fri, 25 Dec 2009 03:44:40 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@spoerlein.net> To: Jilles Tjoelker <jilles@freebsd.org> Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r200818 - head/etc Message-ID: <20091225024439.GD75594@acme.spoerlein.net> In-Reply-To: <200912212216.nBLMG7gl042491@svn.freebsd.org> References: <200912212216.nBLMG7gl042491@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 21.12.2009 at 22:16:07 +0000, Jilles Tjoelker wrote: > Author: jilles > Date: Mon Dec 21 22:16:07 2009 > New Revision: 200818 > URL: http://svn.freebsd.org/changeset/base/200818 > > Log: > rc.subr: Use pwait in wait_for_pids. > > This waits for the requested process(es) to terminate, rather than polling > with an interval of 2 seconds. > > If pwait is not available, the old method is used. A timeout for pwait would be nice, so that we still get a progress report and not simply a "hang". The return value for timeout-has-fired-but-PID-is-still-alive and no-such-PID would have to be different, though. Btw, I haven't actually tested the current code, perhaps it already DTRT. Regards, Uli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091225024439.GD75594>