From owner-freebsd-current@FreeBSD.ORG Sat Jun 4 12:07:28 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBFF51065670; Sat, 4 Jun 2011 12:07:28 +0000 (UTC) (envelope-from julien.laffaye@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 75A6B8FC17; Sat, 4 Jun 2011 12:07:28 +0000 (UTC) Received: by ywf7 with SMTP id 7so1618568ywf.13 for ; Sat, 04 Jun 2011 05:07:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WinnB7iO3GHWBHYPTP9fto4INdwbKxyadCxq3FDN0dU=; b=KjLiYsmrm8VoeVKDaUGL4MYYvxLvh/s/KvfGroADdwl7jKKnbrSOWfIac7XB/FT4Kv 675ip+6rOUsNwW51kv30bzBFu4d6vuIfmintiTvQYCX38c+AoLRBIHbIjHR+Zmy+ttB3 E0P3XLfgok07JP9Aqs+Kprt3LKyD3irkbdibc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=S0XUBIngcq3k1I5uh8kHaY/YZPjIInV/orLH942JCfmwU1DvGWny4Btp7kHQFiTh8j MjWN4s9QYyP/96oBiTDKcXAbUyhw7+zoejuG+M67UTKcxA/GixMO0jJVl6MY+YBTEwKo f5BZdAZObI6bs0pwP9VVuMkpraONkTmMCdsMM= MIME-Version: 1.0 Received: by 10.236.77.34 with SMTP id c22mr3799763yhe.120.1307187938140; Sat, 04 Jun 2011 04:45:38 -0700 (PDT) Sender: julien.laffaye@gmail.com Received: by 10.236.108.171 with HTTP; Sat, 4 Jun 2011 04:45:37 -0700 (PDT) In-Reply-To: References: Date: Sat, 4 Jun 2011 12:45:37 +0100 X-Google-Sender-Auth: au0E_jqemx_eHg9qRHBz2VolgLA Message-ID: From: Julien Laffaye To: Buganini Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, FreeBSD Current Subject: Re: [RFC] rcexecr: rcorder in parallel X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Jun 2011 12:07:28 -0000 On Sat, Jun 4, 2011 at 10:10 AM, Buganini wrote: > https://github.com/buganini/rcexecr > > Currently it is able to determine the exec/wait order > > There are something I haven't digged in deeply in the "self modification" part. > > patches/ideas are welcome. Hello, Thanks for doing that! You should use kqueue(2) instead of waitpid(2) so that you can efficiently monitor a pool of processes. See pwait(1) for an example. Regards, Julien