diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-21 21:46:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 09:31:41 +0100 |
commit | be1b198076cd8849ab6ecc16ad08556c5981f3d9 (patch) | |
tree | 3d6c045cbe857d4d305fedf0cf6d69ea5507b5ec /meta/classes/package.bbclass | |
parent | 6ab380ddde11a8695ae50efb3710c72fb8a772ba (diff) | |
download | poky-be1b198076cd8849ab6ecc16ad08556c5981f3d9.tar.gz |
lib/oe/utils: Add utils function for multiprocess execution
Our usage of multitprocessing is problematic. In particular, there is a bug
in python 2.7 multiprocessing where signals are not handled until command
completion instead of immediately.
This factors the multiprocess code into a function which is enhanced with
a workaround to ensure immediate signal handling and also better SIGINT
handling which should happen in the parent, not the children to ensure
clean exits. The workaround for the signals is being added to the core
bb.utils function so it can benefit all users.
package_manager is then converted to use the new code.
(From OE-Core rev: 72d153a3a90d31d9f4e41d77da24e44ccb33c56e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package.bbclass')
0 files changed, 0 insertions, 0 deletions