summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/server/none.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2010-09-28 08:24:55 -0700
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-04 14:46:37 +0000
commit26eda933379801ef1c8b4b09e67d14f498cd3813 (patch)
tree16afc923128c95263fde510eaa5d51a73469b5d0 /bitbake/lib/bb/server/none.py
parent30cef6bade179e88a439ec83ebb78bcc6d041c86 (diff)
downloadpoky-26eda933379801ef1c8b4b09e67d14f498cd3813.tar.gz
Queue up events before the UI is spawned
- Queue up any events fired to the UI before the UI exists - At exit, check if UIs exist, and if not, flush the queue of LogRecords to the console directly. - When establishing a connection from the UI to the server, flush the queue of events to the queue in the server connection, so the UI will receive them when it begins its event loop. (Bitbake rev: 73488aeb317ed306f2ecf99cc9d3708526a5933c) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/server/none.py')
-rw-r--r--bitbake/lib/bb/server/none.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/bitbake/lib/bb/server/none.py b/bitbake/lib/bb/server/none.py
index dafb2feba9..2708807dfc 100644
--- a/bitbake/lib/bb/server/none.py
+++ b/bitbake/lib/bb/server/none.py
@@ -174,6 +174,8 @@ class BitBakeServerConnection():
174 self.server = serverinfo.server 174 self.server = serverinfo.server
175 self.connection = serverinfo.commands 175 self.connection = serverinfo.commands
176 self.events = bb.server.none.BBUIEventQueue(self.server) 176 self.events = bb.server.none.BBUIEventQueue(self.server)
177 for event in bb.event.ui_queue:
178 self.events.queue_event(event)
177 179
178 def terminate(self): 180 def terminate(self):
179 try: 181 try: