diff TaskManager/kernel/ppe/HTask.cc @ 1463:f7e497c8e8a3 draft

TaskList on going...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Jul 2012 20:44:23 +0900
parents 8cf62aea798f
children 3f2230d79eba
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/HTask.cc	Sat Jul 14 19:15:09 2012 +0900
+++ b/TaskManager/kernel/ppe/HTask.cc	Sat Jul 14 20:44:23 2012 +0900
@@ -126,6 +126,7 @@
     }
     Task *next = t->next();
     if (next >= tl->last()) {
+        tl->lastTask = t;
         TaskListPtr nextTaskList =  mimpl->createTaskList();
         nextTaskList->prev = tl;
         tl->next = nextTaskList;
@@ -150,7 +151,7 @@
 void
 HTask::spawn_task_array(Task * last)
 {
-    // do nothing now
+    tl->lastTask = last;
 }