summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-21 21:46:57 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 09:31:42 +0100
commitc501492132d47aef13414b5851e7eb56fda607cd (patch)
tree2e14a1e4a2b80cb5922fcc0398a2486d4c9ed3b5 /bitbake/lib/bb/command.py
parenta4f077b1fe28994b3180a49a969a6d044b5114e1 (diff)
downloadpoky-c501492132d47aef13414b5851e7eb56fda607cd.tar.gz
bitbake: bitbake-worker: Improve sigterm handler
When processes terminate, we really want all of the child processes to terminate too. This was not happening for worker processes which spawned their own multiprocessing pools, leading to build hangs. This change ensures any sigterm gets passed to the whole process group. In local tests, this resolved some hanging process workloads I could generate. It does rely on signals being delivered in a timely fashion and there is a multiprocessing bug we have to work around there. (Bitbake rev: 96f8ea07ace1379380fab2d78eb592fa40c867d4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
0 files changed, 0 insertions, 0 deletions