From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from 93-97-173-237.zone5.bethere.co.uk ([93.97.173.237] helo=tim.rpsys.net) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1S0fbY-0004ad-GC for openembedded-core@lists.openembedded.org; Thu, 23 Feb 2012 21:49:32 +0100 Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q1NKfB4f025350 for ; Thu, 23 Feb 2012 20:41:11 GMT Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22892-04 for ; Thu, 23 Feb 2012 20:41:07 +0000 (GMT) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id q1NKf2eQ025343 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 23 Feb 2012 20:41:03 GMT Message-ID: <1330029663.32110.85.camel@ted> From: Richard Purdie To: Patches and discussions about the oe-core layer Date: Thu, 23 Feb 2012 20:41:03 +0000 In-Reply-To: <4F46A346.3050809@palm.com> References: <4F457B4B.4000507@palm.com> <4F458CAA.7040107@palm.com> <1329992162.32110.53.camel@ted> <4F46919E.2050204@palm.com> <1330027895.32110.84.camel@ted> <4F46A346.3050809@palm.com> X-Mailer: Evolution 3.2.2- Mime-Version: 1.0 X-Virus-Scanned: amavisd-new at rpsys.net Subject: Re: sharing DL_DIR? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 20:49:32 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Thu, 2012-02-23 at 12:36 -0800, Rich Pixley wrote: > On 2/23/12 12:11 , Richard Purdie wrote: > > On Thu, 2012-02-23 at 11:21 -0800, Rich Pixley wrote: > >> On 2/23/12 02:16 , Richard Purdie wrote: > >>> On Wed, 2012-02-22 at 16:47 -0800, Rich Pixley wrote: > >>>> What happens if two separate bitbake invocations both simultaneously > >>>> attempt to download the same file? > >>> The first will download it, the second will wait for it to finish, then > >>> both will continue with the downloaded file. > >> How does the second know that the first is in progress? > > It won't be able to take the lock and the done stamp file doesn't exist > > yet. > What lock? > > I've just read through lib/bb/fetch2/__init__.py but I'm not seeing a > lock. What am I missing? Try searching that file for expressions like "lock" and "lockfile" ;-) Cheers, Richard