From 2044668a411b5decbb496ff9579a89e561c322d3 Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Mon, 9 Sep 2013 17:40:56 +0100 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/bb/runqueue.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bitbake/lib/bb/runqueue.py') 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): 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): @@ -1828,6 +1829,11 @@ class runQueueTaskCompleted(runQueueEvent): Event notifing a task completed """ +class sceneQueueTaskCompleted(sceneQueueEvent): + """ + Event notifing a setscene task completed + """ + class runQueuePipe(): """ Abstraction for a pipe between a worker thread and the server -- cgit v1.2.3-54-g00ecf