Received: from [80.91.229.2] (helo=ciao.gmane.org) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1JVt5O-0002uJ-9u for openembedded-devel@openembedded.org; Sun, 02 Mar 2008 19:39:03 +0100 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JVt4F-0007Rs-NB for openembedded-devel@openembedded.org; Sun, 02 Mar 2008 18:37:47 +0000 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Mar 2008 18:37:47 +0000 Received: from koen by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Mar 2008 18:37:47 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@openembedded.org From: Koen Kooi Date: Sun, 02 Mar 2008 19:37:40 +0100 Message-ID: References: Mime-Version: 1.0 X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Thunderbird 2.0.0.12 (Macintosh/20080213) In-Reply-To: X-Enigmail-Version: 0.95.6 Sender: news X-SA-Exim-Connect-IP: 80.91.229.2 X-SA-Exim-Mail-From: gcho-openembedded-devel@m.gmane.org X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on serenity X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=AWL,RDNS_NONE autolearn=no version=3.2.3 X-SA-Exim-Version: 4.2.1 (built Tue, 21 Aug 2007 23:39:36 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: Multiple bitbake and a shared DL_DIR location - race conditions? X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 18:39:03 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Leon Woestenberg schreef: | Hello, | | in setting up a few automated builds, I have shared the DL_DIR amongst | the builds. | | I would like to allow the builds to overlap in time, at least make | sure the builds are robust to this, but I doubt this is possible at | all. | | Are there any race conditions with the current approach? | | I.e. what if two fetch tasks from concurrent instances of bitbake | decide to download a package? Isn't that what the .lock files are supposed to do? If you have multiple bitbake threads (in one bitbake instance) it has to solve the same problem. regards, Koen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFHyvP0MkyGM64RGpERAj7vAJ9KmIc0oFcjHPAnjgTz7r6ZUTreoQCeOPQe DTwR/YsH45qrnBCL9tOme7A= =E8Ty -----END PGP SIGNATURE-----