From owner-freebsd-rc@FreeBSD.ORG Thu Nov 19 23:13:28 2009 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 54FD9106568F for ; Thu, 19 Nov 2009 23:13:28 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id D58378FC1F for ; Thu, 19 Nov 2009 23:13:27 +0000 (UTC) Received: (qmail 1631 invoked by uid 399); 19 Nov 2009 23:13:27 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 19 Nov 2009 23:13:27 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B05D11A.4020504@FreeBSD.org> Date: Thu, 19 Nov 2009 15:13:30 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Jilles Tjoelker References: <200911192300.nAJN06KK067069@freefall.freebsd.org> In-Reply-To: <200911192300.nAJN06KK067069@freefall.freebsd.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: conf/132766: wait_for_pids() in /etc/rc.subr is dull. X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 23:13:28 -0000 Jilles Tjoelker wrote: > The following reply was made to PR conf/132766; it has been noted by GNATS. > > From: Jilles Tjoelker > To: bug-followup@FreeBSD.org, hide@koie.org > Cc: > Subject: Re: conf/132766: wait_for_pids() in /etc/rc.subr is dull. > Date: Thu, 19 Nov 2009 23:39:38 +0100 > > The new pwait(1) utility in 9-CURRENT would be an elegant approach to this. Thanks for the reminder, I've closed the PR. BTW, I have looked briefly at implementing wait_for_pids with pwait. The only complication I see at the moment is that wait_for_pids actually takes a list of pids rather than just one, so setting that up will complicate things slightly, but it should not be an overwhelming burden. It will just take more time than I can devote to it at the moment. Doug -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/