[bitbake-devel] [PATCH 05/13] bitbake: runqueue: add sceneQueueTaskCompleted event
Alex DAMIAN
alexandru.damian at intel.com
Mon Sep 9 16:40:56 UTC 2013
From: Alexandru DAMIAN <alexandru.damian at intel.com>
Adding an event to be fired when a scene task is completed.
It is analogous to the run task completed event, and has
been missing for some reason.
Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
bitbake/lib/bb/runqueue.py | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 73dd059..11ff193 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1652,6 +1652,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
def task_complete(self, task):
self.stats.taskCompleted()
+ bb.event.fire(sceneQueueTaskCompleted(task, self.stats, self.rq), self.cfgData)
self.task_completeoutright(task)
def task_fail(self, task, result):
@@ -1839,6 +1840,11 @@ class runQueueTaskCompleted(runQueueEvent):
Event notifing a task completed
"""
+class sceneQueueTaskCompleted(sceneQueueEvent):
+ """
+ Event notifing a setscene task completed
+ """
+
class runQueueTaskSkipped(runQueueEvent):
"""
Event notifing a task was skipped
--
1.8.1.2
More information about the bitbake-devel
mailing list