diff TaskManager/kernel/ppe/HTask.cc @ 1424:0ce6c6880b4b draft

change to the queue form the list.
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Sun, 11 Mar 2012 16:36:20 +0900
parents 515a0f15b5d2
children 8bd889db45a1
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/HTask.cc	Fri Mar 09 19:03:18 2012 +0900
+++ b/TaskManager/kernel/ppe/HTask.cc	Sun Mar 11 16:36:20 2012 +0900
@@ -37,7 +37,7 @@
     waitTask *wait_task = new waitTask;
     wait_task->task_id = master->tasklog->mtask_id;
     wait_task->cmd = master->command;
-    tasklog->wait_for_list.push_back(wait_task);
+    tasklog->wait_for_list.addLast(wait_task);
 
     mimpl->set_task_depend(master, this);
 }