summaryrefslogtreecommitdiffstats
path: root/scripts/lib/devtool/upgrade.py
diff options
context:
space:
mode:
authorPaul Barker <pbarker@konsulko.com>2021-04-29 15:11:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-05-06 11:08:07 +0100
commit802024fd2a63bdbffbfaf125513561799452e4d2 (patch)
tree7c7af52d41a2fdd8a68f19456f461d333051b95f /scripts/lib/devtool/upgrade.py
parent581233a798434f178898f12fa35bbcccb92e7768 (diff)
downloadpoky-802024fd2a63bdbffbfaf125513561799452e4d2.tar.gz
bitbake: prserv: Use multiprocessing to auto start prserver
We can use the modern multiprocessing support in Python instead of manually using fork to start the prserver process. To do this we need to set up the signal handlers for the prserver process in the work_forever function (which is now used as the main function for this process). The old code to start the prserver process using fork is not removed in this commit as it is tightly intertwined with the daemonization code which will be refactored in a following commit. (Bitbake rev: b3da56240c0f92efab1c0b293738c35c0f1ee6ab) Signed-off-by: Paul Barker <pbarker@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/upgrade.py')
0 files changed, 0 insertions, 0 deletions