Mercurial > hg > Game > Cerium
comparison 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 |
comparison
equal
deleted
inserted
replaced
1462:8cf62aea798f | 1463:f7e497c8e8a3 |
---|---|
124 tl->tasks->init(id, param_count, inData_count, outData_count); | 124 tl->tasks->init(id, param_count, inData_count, outData_count); |
125 return tl->tasks; | 125 return tl->tasks; |
126 } | 126 } |
127 Task *next = t->next(); | 127 Task *next = t->next(); |
128 if (next >= tl->last()) { | 128 if (next >= tl->last()) { |
129 tl->lastTask = t; | |
129 TaskListPtr nextTaskList = mimpl->createTaskList(); | 130 TaskListPtr nextTaskList = mimpl->createTaskList(); |
130 nextTaskList->prev = tl; | 131 nextTaskList->prev = tl; |
131 tl->next = nextTaskList; | 132 tl->next = nextTaskList; |
132 tl = nextTaskList; | 133 tl = nextTaskList; |
133 next = tl->tasks; | 134 next = tl->tasks; |
148 @param last 今のTaskのポインタ (最後である必要がある) | 149 @param last 今のTaskのポインタ (最後である必要がある) |
149 */ | 150 */ |
150 void | 151 void |
151 HTask::spawn_task_array(Task * last) | 152 HTask::spawn_task_array(Task * last) |
152 { | 153 { |
153 // do nothing now | 154 tl->lastTask = last; |
154 } | 155 } |
155 | 156 |
156 | 157 |
157 /* end */ | 158 /* end */ |