summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2013-09-09 17:40:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-10 15:57:20 +0100
commit2044668a411b5decbb496ff9579a89e561c322d3 (patch)
treea257e9e0142a7c786c4ad0c6397b24439b02b7e5 /bitbake
parenta284f6c2857de27dca444c6160979735cd6180e1 (diff)
downloadpoky-2044668a411b5decbb496ff9579a89e561c322d3.tar.gz
bitbake: bitbake: runqueue: add sceneQueueTaskCompleted event
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. (Bitbake rev: 73b8f4d3fbeaf1b330a66d76012d0a5cef8dbe2d) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/runqueue.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index a868332509..25f1ab5ce5 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1645,6 +1645,7 @@ class RunQueueExecuteScenequeue(RunQueueExecute):
1645 1645
1646 def task_complete(self, task): 1646 def task_complete(self, task):
1647 self.stats.taskCompleted() 1647 self.stats.taskCompleted()
1648 bb.event.fire(sceneQueueTaskCompleted(task, self.stats, self.rq), self.cfgData)
1648 self.task_completeoutright(task) 1649 self.task_completeoutright(task)
1649 1650
1650 def task_fail(self, task, result): 1651 def task_fail(self, task, result):
@@ -1828,6 +1829,11 @@ class runQueueTaskCompleted(runQueueEvent):
1828 Event notifing a task completed 1829 Event notifing a task completed
1829 """ 1830 """
1830 1831
1832class sceneQueueTaskCompleted(sceneQueueEvent):
1833 """
1834 Event notifing a setscene task completed
1835 """
1836
1831class runQueuePipe(): 1837class runQueuePipe():
1832 """ 1838 """
1833 Abstraction for a pipe between a worker thread and the server 1839 Abstraction for a pipe between a worker thread and the server