]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: cooker: Cleanup the queue before call process.join()
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 7 Aug 2019 09:50:48 +0000 (17:50 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Aug 2019 09:22:36 +0000 (10:22 +0100)
commit016b91b334c17cf542711a90fcde8d7278867eb0
tree1b9f818c510552e9e04975b6a41880ec8a95c9a6
parent53b602c4e46e770df6794fd9cac99d25c2e7622f
bitbake: cooker: Cleanup the queue before call process.join()

Fixed:
$ rm -fr tmp-glibc/cache/default-glibc/qemux86/x86_64/bb_cache.dat* ; bitbake -p
Press *one* Ctrl-C when the parsing process is at about 50%, then the processes
are not exited:

Keyboard Interrupt, closing down...

Timeout while waiting for a reply from the bitbake server

It hangs at process.join(), according to:

https://docs.python.org/3.7/library/multiprocessing.html

Cleanup the queue before call process.join() can fix the problem.

(Bitbake rev: 3eddfadd19b2ce4c061861abf0c340e3825b41ff)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/cooker.py