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/event.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/event.py')
-rw-r--r-- | lib/bb/event.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/event.py b/lib/bb/event.py index b6a59fa8f..044c5572f 100644 --- a/lib/bb/event.py +++ b/lib/bb/event.py @@ -104,7 +104,7 @@ def fire_ui_handlers(event, d): # We use pickle here since it better handles object instances # which xmlrpc's marshaller does not. Events *must* be serializable # by pickle. - _ui_handlers[h].event.send((pickle.dumps(event))) + _ui_handlers[h].event.send(event) except: errors.append(h) for h in errors: |