diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-22 15:12:15 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-24 09:08:14 +0100 |
commit | 663470c94a984a47f0ccacf0ede0a079b728ae1c (patch) | |
tree | 2bce4dae2fd13cf97576bea23ab2b8bf037d372f /meta-selftest/lib | |
parent | b991cc4f8954711add94514f7d59efd68cb29ac7 (diff) | |
download | poky-663470c94a984a47f0ccacf0ede0a079b728ae1c.tar.gz |
bitbake: cooker: Explictly shut down the sync thread
Hongxu Jia reported a problem where the bb_cache files were not always being
written out correctly. This was due to the sync thread being terminated
prematurely.
Whilst the preceeding changes mean the exit handler for this thread is now
correctly called since we switch to using sys.exit() instead of os._exit(),
this write can happen after we drop the bitbake lock, leading to potential
races. Avoid that headache by adding in explicit thread join() calls before
we drop the lock (which atexit or Finalize can't do).
(Bitbake rev: afd1900939f7b042297558f4cb01f50f3a299267)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/lib')
0 files changed, 0 insertions, 0 deletions