aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
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:14 +0100
commit6d2dd16b87ce62086f956912e9a7335b2adfcc94 (patch)
treeb6dfde5ee6603a9c5ceabd8dba946f1dcd4c1a2f /contrib
parent1dcc4e29dee3fd0dd4d6dc2fc9ccdc5888fcfcf3 (diff)
downloadbitbake-6d2dd16b87ce62086f956912e9a7335b2adfcc94.tar.gz
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). 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 'contrib')
0 files changed, 0 insertions, 0 deletions