bitbake: runqueue: Fix race against tasks sharing stamp files
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Jan 2014 11:17:34 +0000 (11:17 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 31 Jan 2014 15:52:17 +0000 (15:52 +0000)
commit0b3732d996131d6377e4ed5f6ee48e913ad15cfe
tree7a24515046212191c57f33dc743d42a3819cc06d
parent4b3f755aeee777a4c94e175ffd670c0ad33eaee6
bitbake: runqueue: Fix race against tasks sharing stamp files

Shared work directories work by assuming bitbake will not run
more than one task with a specific stamp name. Recent runqueue optimisations
accidentally broke this meaning there could be races. This fixes the code.

(Bitbake rev: b1628b1a260ddf43fc9985535b1ddcfcebbb1e5b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/runqueue.py