diff options
author | Bob Foerster <rfoerster@layerzero.com> | 2010-11-24 12:53:12 -0500 |
---|---|---|
committer | Chris Larson <chris_larson@mentor.com> | 2010-12-16 10:39:27 -0700 |
commit | 65b615c6df4c3891e3c600947c3f96f802407fa4 (patch) | |
tree | cbb38412957c5be0d9a5f0c7c56d9ccd272e9c6e /lib/bb/command.py | |
parent | 144887553097a288a76b8de78f71548d5ef9a350 (diff) | |
download | bitbake-65b615c6df4c3891e3c600947c3f96f802407fa4.tar.gz |
Run the server and UI in separate processes
This uses the python multiprocessing module, both to spawn the server process
and for communication between the processes.
Signed-off-by: Bob Foerster <robert@erafx.com>
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index b88089298..c5c8de190 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -82,7 +82,7 @@ class Command: if command not in CommandsAsync.__dict__: return "No such command" self.currentAsyncCommand = (command, commandline) - self.cooker.server.register_idle_function(self.cooker.runCommands, self.cooker) + self.cooker.server_registration_cb(self.cooker.runCommands, self.cooker) return True except: import traceback |