Mercurial > hg > Game > Cerium
comparison TaskManager/kernel/schedule/SchedTaskList.cc @ 439:13c6740ab15f draft
still overlay...
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 25 Sep 2009 00:46:50 +0900 |
parents | 609758f9f350 |
children | 5f4ffff2c2aa |
comparison
equal
deleted
inserted
replaced
438:b7c226fdea2d | 439:13c6740ab15f |
---|---|
67 | 67 |
68 } else { | 68 } else { |
69 TaskPtr nextTask = &list->tasks[0]; | 69 TaskPtr nextTask = &list->tasks[0]; |
70 // code load を開始する。 | 70 // code load を開始する。 |
71 loadSchedTask(scheduler, nextTask); | 71 loadSchedTask(scheduler, nextTask); |
72 if (1 < list->length) { | |
73 // 次のもloadしておく | |
74 // load next task | |
75 loadSchedTask(scheduler, &list->tasks[1]); | |
76 } | |
72 nextSched = createSchedTask(scheduler, nextTask); | 77 nextSched = createSchedTask(scheduler, nextTask); |
73 | 78 |
74 if (flag_renewTaskList == SCHED_TASKLIST_RENEW) { | 79 if (flag_renewTaskList == SCHED_TASKLIST_RENEW) { |
75 ((SchedTask*)nextSched)->__setRenew(); | 80 ((SchedTask*)nextSched)->__setRenew(); |
76 } | 81 } |