[OE-core] sharing DL_DIR?

Rich Pixley rich.pixley at palm.com
Thu Feb 23 20:36:22 UTC 2012


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?

--rich




More information about the Openembedded-core mailing list