diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2013-09-09 17:40:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-10 14:55:58 +0100 |
commit | 73b8f4d3fbeaf1b330a66d76012d0a5cef8dbe2d (patch) | |
tree | 0079a8ee387f98b5bcd3dc528d4ca48e187bce7a /lib/bb/runqueue.py | |
parent | ab377c00c33a2d296bfda1b0b6c2a62b29d1004f (diff) | |
download | bitbake-73b8f4d3fbeaf1b330a66d76012d0a5cef8dbe2d.tar.gz |
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.
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/runqueue.py')
-rw-r--r-- | lib/bb/runqueue.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index a86833250..25f1ab5ce 100644 --- a/lib/bb/runqueue.py +++ b/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 |