diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-21 14:43:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-31 17:05:17 +0000 |
commit | 6a6a5c01f768f2af581f1f764a3a1c40864459e7 (patch) | |
tree | fa23ecd0e0935fd3f62f455770e28b476858854b /bitbake/lib/bb/server | |
parent | c4ecfc4dc5511a23e12ed68eb140a67fd4181127 (diff) | |
download | poky-6a6a5c01f768f2af581f1f764a3a1c40864459e7.tar.gz |
bitbake: event: Always use threadlock
With the move to a server idle thread, we always need threading. The
existing accessor functions could end up turning this off!
I was going to hold the lock whilst changing it, check if the value
was already set, cache the result and also fix the event code to always
release the lock with a try/finally.
Instead, disable the existing functions and use a with: block
to handle the lock, keeping things much simpler.
(Bitbake rev: 645c9d3b50e55f69b222cc338373cdfd91d524ce)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/server')
0 files changed, 0 insertions, 0 deletions