diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 15:59:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-06 23:45:36 +0000 |
commit | bdfc5207a0fdbed889c4a5997306adab82b1c2d4 (patch) | |
tree | 814509d6cae5160fae9d9a5ad7dc2952d49a0114 /bitbake/lib/bb | |
parent | afd24faa00fdf622235fc1125eddd1da8afb0323 (diff) | |
download | poky-bdfc5207a0fdbed889c4a5997306adab82b1c2d4.tar.gz |
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>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r-- | bitbake/lib/bb/server/process.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/server/process.py b/bitbake/lib/bb/server/process.py index 8ebf771878..5e2cade267 100644 --- a/bitbake/lib/bb/server/process.py +++ b/bitbake/lib/bb/server/process.py | |||
@@ -266,5 +266,5 @@ class BitBakeServer(object): | |||
266 | return self.connection | 266 | return self.connection |
267 | 267 | ||
268 | def launchUI(self, uifunc, *args): | 268 | def launchUI(self, uifunc, *args): |
269 | return bb.cooker.server_main(self.cooker, uifunc, *args) | 269 | return uifunc(*args) |
270 | 270 | ||