From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1J9C2Q-0001t3-Pf for garchives@archives.gentoo.org; Mon, 31 Dec 2007 04:14:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.2/8.14.0) with SMTP id lBV4DFbZ022223; Mon, 31 Dec 2007 04:13:15 GMT Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.185]) by robin.gentoo.org (8.14.2/8.14.0) with ESMTP id lBV4BHgN019654 for ; Mon, 31 Dec 2007 04:11:17 GMT Received: by fk-out-0910.google.com with SMTP id 18so8616539fkq.2 for ; Sun, 30 Dec 2007 20:11:17 -0800 (PST) Received: by 10.78.138.14 with SMTP id l14mr11006084hud.23.1199074276767; Sun, 30 Dec 2007 20:11:16 -0800 (PST) Received: by 10.78.33.13 with HTTP; Sun, 30 Dec 2007 20:11:16 -0800 (PST) Message-ID: Date: Sun, 30 Dec 2007 20:11:16 -0800 From: "Alec Warner" Sender: antarus@scriptkitty.com To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] has_version etc parallelisability In-Reply-To: <20071230223519.48adc9be@snowcone> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071230223519.48adc9be@snowcone> X-Google-Sender-Auth: e3a433661ed27ce9 X-Archives-Salt: 3e509b2d-449b-443d-b597-3bdf8dd2fb29 X-Archives-Hash: 6e4bc27b664bc7d61448b8ac9ba844d0 On 12/30/07, Ciaran McCreesh wrote: > Is it legal for ebuilds to call has_version and friends in parallel? Is > it legal for ebuilds to call has_version and friends after the ebuild > process has terminated? Discuss. If the pm implements read/write locking on the underlying datastore (which it should probably have regardless of this request) then I don't see a problem in parallel has_version calls. I don't get your second example..do you mean the ebuild is running has_version in the background and then terminating? > > -- > Ciaran McCreesh > > -- gentoo-dev@gentoo.org mailing list