From owner-svn-src-head@FreeBSD.ORG Fri Dec 25 02:44:41 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD3C810656A3; Fri, 25 Dec 2009 02:44:41 +0000 (UTC) (envelope-from uqs@spoerlein.net) Received: from acme.spoerlein.net (acme.spoerlein.net [IPv6:2a01:198:206::1]) by mx1.freebsd.org (Postfix) with ESMTP id 55C2C8FC1B; Fri, 25 Dec 2009 02:44:41 +0000 (UTC) Received: from acme.spoerlein.net (localhost.spoerlein.net [IPv6:::1]) by acme.spoerlein.net (8.14.3/8.14.3) with ESMTP id nBP2ie7l044262 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 25 Dec 2009 03:44:40 +0100 (CET) (envelope-from uqs@spoerlein.net) Received: (from uqs@localhost) by acme.spoerlein.net (8.14.3/8.14.3/Submit) id nBP2ieiF044261; Fri, 25 Dec 2009 03:44:40 +0100 (CET) (envelope-from uqs@spoerlein.net) Date: Fri, 25 Dec 2009 03:44:40 +0100 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= To: Jilles Tjoelker Message-ID: <20091225024439.GD75594@acme.spoerlein.net> Mail-Followup-To: Ulrich =?utf-8?B?U3DDtnJsZWlu?= , Jilles Tjoelker , src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org References: <200912212216.nBLMG7gl042491@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200912212216.nBLMG7gl042491@svn.freebsd.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r200818 - head/etc X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 02:44:41 -0000 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