]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqueue: Ensure setscene tasks with overlapping stamps don't parallel execute
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Dec 2016 13:36:25 +0000 (13:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 21 Dec 2016 16:52:01 +0000 (16:52 +0000)
commit937acf267fa9e45f538695b2cf8aa83232a96240
tree0d1e017b950f5014b8d37919d24ec80769204cce
parentcead85cf219c07b40aeb7c0d948c25f0429136db
runqueue: Ensure setscene tasks with overlapping stamps don't parallel execute

In multiconfig, mutliple tasks can execute which share the same stamp file. These
must not execute in parallel, the idea is the first should execute, the subsequent
ones should see a valid stamp and get skipped.

The normal task execution code has stamps code to handle this, this adds similar
code to the setscene execute() function to handle the issue there too.

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