]> code.ossystems Code Review - openembedded-core.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)
committerRichard Purdie <rpurdie@linux.intel.com>
Tue, 4 Jan 2011 14:46:44 +0000 (14:46 +0000)
commit7a7e2f4e59a076ce166da53af5d8bbec310b1665
tree3afc07f4c048e22466acc622e8072562c9d047ef
parentf4a06aac980f73702a04d2c2f0728c09ebfb7786
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.

(Bitbake rev: 97ce57e6f860d3e6f34cc7a603ed1eeac4f423d3)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/lib/bb/cooker.py