diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-29 15:18:01 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-30 13:05:03 +0100 |
commit | 4a5a2e67a841cf0c5d798c7b7b798e0a1f1d0944 (patch) | |
tree | 72d0b668d5c6322df282346ee8d93e8e735828de /meta | |
parent | 928bcb10a46939eaf801bea0b633e4624b5b5dfa (diff) | |
download | poky-4a5a2e67a841cf0c5d798c7b7b798e0a1f1d0944.tar.gz |
bitbake: cooker: Rework force parser shutdown
The "force" option to parser shutdown was often the cause of lockups and
there is no good reason we should have two different behaviours.
Change and unify the codepaths to always:
* Wait for longer for a controlled shutdown of a process (0.5s). Usually
it will be much faster if it has finished so the delay doesn't really matter.
* Send processes a SIGINT
* Failing that, send a SIGTERM
* Call .close() if available to release zombies
This means we no longer need the "force" parameter to the function so it is removed.
(Bitbake rev: de88c62ef873e9fce78ba162f5311d846de96f2b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions