bitbake: bitbake: Always use separate process for PR Service
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Feb 2013 15:59:07 +0000 (15:59 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 Feb 2013 23:45:36 +0000 (23:45 +0000)
commite03dcec540e87ef7460f71300be32005d0b48e3c
tree8a539a6bc88f0bf8833c135af6bff3cfae8ac6bb
parent2a090250e06b163d1c935ad9eef4b874640264b9
bitbake: bitbake: Always use separate process for PR Service

Using the threading module interacts badly with multiprocessing used elsewhere
in bitbake under certain machine loads. This was leading to bitbake hanging on
Ctrl+C when the PR Server was being used.

This patch converts it to always use the daemonize code which
then means the threading code isn't required.

[YOCTO #3742]

(Bitbake rev: 2d0bbd9398ab839bd2d1e29e50b25d52efb1ce2a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/server/process.py
bitbake/lib/prserv/serv.py