diff options
author | Kang Kai <kai.kang@windriver.com> | 2012-05-23 17:40:19 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-25 11:39:33 +0100 |
commit | f28209d9d3c67203a2c7a2b25cacfe31643d1bfa (patch) | |
tree | d8ed8a17d68738d006fd43c0d1c759f9c59224d4 /meta-yocto | |
parent | fcd80214091e3cf41af184e24081d71981d48a8c (diff) | |
download | poky-f28209d9d3c67203a2c7a2b25cacfe31643d1bfa.tar.gz |
cooker.py: terminate the Parser processes
[Yocto 2142]
Force to exit HOB when hob is parsing recipes, the bitbake doesn't stop.
It hangs on function BitBakeServerConnection::terminate in file
server/process.py:
else:
self.procserver.join()
It is waiting for the children process quit.
In stage of parse recipes BBCooker spawns Parser processes as many as
cpu numbers. When quit the Parser processes they make their internal
Queue to call cancel_join_thread() to avoid block but don't work at
this time.
So force to terminate the Parser processes.
(Bitbake rev: bebef58b21bdff7a3ee1fa2449b7df19144f26fd)
Signed-off-by: Kang Kai <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto')
0 files changed, 0 insertions, 0 deletions