Mercurial > hg > Members > kono > Cerium
diff TaskManager/kernel/schedule/Scheduler.cc @ 468:bd5b93d39597
test_nogl on Mac OS X worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 02 Oct 2009 16:40:43 +0900 |
parents | 01b321c86747 |
children | 0b933bef0328 |
line wrap: on
line diff
--- a/TaskManager/kernel/schedule/Scheduler.cc Thu Oct 01 19:25:25 2009 +0900 +++ b/TaskManager/kernel/schedule/Scheduler.cc Fri Oct 02 16:40:43 2009 +0900 @@ -55,8 +55,6 @@ void Scheduler::run(void) { - SchedTaskBase* taskTmp; - task1 = new SchedNop(); task2 = new SchedNop(); task3 = new SchedNop(); @@ -67,11 +65,11 @@ task3->write(); task2->exec(); task1->read(); + delete task3; - taskTmp = task3; task3 = task2; task2 = task1; - task1 = task1->next(this, taskTmp); + task1 = task1->next(this, 0); } while (task1); delete task3;