diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-09 23:17:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-11 10:58:36 +0000 |
commit | 165e8b563d400bf54c317659a267db85e8c34006 (patch) | |
tree | 7e4d05e7d3440b6f95c029afabf1822d3f7b2733 /meta/classes-global/uninative.bbclass | |
parent | 4e4f040a73ca81f830cf90af05b75e7c06f91d8d (diff) | |
download | poky-165e8b563d400bf54c317659a267db85e8c34006.tar.gz |
bitbake: process/cooker/command: Fix currentAsyncCommand locking/races
currentAsyncCommand currently doesn't have any locking and we have
a conflict in "idle" conditions since the idle functions count needs
to be zero *and* there needs to be no active command.
Move the changes/checks of currentAsyncCommand to within the lock
and then we can add it to the condition for idle, simplifying some
of the code.
(Bitbake rev: b5215887d2f8ea3f28f1ebda721bd5b8f93ec7f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/uninative.bbclass')
0 files changed, 0 insertions, 0 deletions