]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cooker: ensure that the cache sync completes
authorChris Larson <chris_larson@mentor.com>
Tue, 23 Nov 2010 17:46:49 +0000 (11:46 -0600)
committerChris Larson <chris_larson@mentor.com>
Tue, 23 Nov 2010 17:48:16 +0000 (10:48 -0700)
commit97ce57e6f860d3e6f34cc7a603ed1eeac4f423d3
tree31ac2a70a082fadc293f679765e2bb478e3a9ec7
parente7fd259d1528f48b0812fb7b0a54dd6d5d22f4a9
cooker: ensure that the cache sync completes

Without explicitly joining the thread, it's possible for the process to end
(e.g. after a bitbake -p) and kill off the thread without waiting for it to
exit cleanly.  So, register the thread join with atexit.

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/cooker.py