summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/event.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-29 14:56:14 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-31 17:05:17 +0000
commitc4ecfc4dc5511a23e12ed68eb140a67fd4181127 (patch)
tree46586a8cfdac78f493d58a835b1d6009b8d13c4d /bitbake/lib/bb/event.py
parentff2d778f6d33a4e48406f7bbc7fdbc4e95113069 (diff)
downloadpoky-c4ecfc4dc5511a23e12ed68eb140a67fd4181127.tar.gz
bitbake: server/process: Improve idle loop exit code
When idle handlers want to exit, returning "False" isn't very clear and also causes challenges with the ordering of the removing the idle handler and marking that no async command is running. Use a specific class to signal the exit condition allowing clearer code and allowing the async command to be cleared after the handler has been removed, reducing any opportunity for races. (Bitbake rev: 102e8d0d4c5c0dd8c7ba09ad26589deec77e4308) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/event.py')
0 files changed, 0 insertions, 0 deletions