summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/search.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-15 12:00:31 -1000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-19 17:06:18 +0100
commit2dd1b9b305cbbc80eadb26e6c9ad0983c2a23555 (patch)
tree13f03c5e220e606a6fd5e91d475591047a57fe2f /scripts/lib/devtool/search.py
parentb31affa946a1131cfc2f00367f162e747f3bb8e8 (diff)
downloadpoky-2dd1b9b305cbbc80eadb26e6c9ad0983c2a23555.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: 6d2dd16b87ce62086f956912e9a7335b2adfcc94) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/search.py')
0 files changed, 0 insertions, 0 deletions