diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-18 22:58:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-18 23:05:53 +0000 |
commit | 0150bc30d3674301631c2e9b6c64e01058fd1070 (patch) | |
tree | 40caf426b8e02aac158cd1c93e85a7c1b091cacd /meta-yocto/recipes-core | |
parent | cfd1c4e79eb4e41e2090411adb8f7be2fbcc8e97 (diff) | |
download | poky-0150bc30d3674301631c2e9b6c64e01058fd1070.tar.gz |
bitbake: runqueue: Really fix sigchld handling
There are several problems. Firstly, a return value of "None" can mean
there is a C signal handler installed so we need to better handle that
case. signal.SIG_DFL is 0 which equates to false so we also need to
handle that by testing explicitly for None.
Finally, the signal handler *must* call waitpid on all child processes
else it will just get called repeatedly, leading to the hanging behaviour
we've been seeing. The solution is to only error for the worker children,
we warn about any other stray children which we'll have to figure out the
sources of in due course.
Hopefully this patch gets things working again properly though.
(Bitbake rev: 973876c706f08735c1b68c791a5a137e5f083dd2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-yocto/recipes-core')
0 files changed, 0 insertions, 0 deletions