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 _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
