Mercurial > hg > Game > Cerium
diff TaskManager/kernel/ppe/TaskManagerImpl.cc @ 639:91d03774c407 draft
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | aba1600e8f83 |
children | 7ba4ad4538b1 |
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/TaskManagerImpl.cc Thu Nov 19 18:18:20 2009 +0900 +++ b/TaskManager/kernel/ppe/TaskManagerImpl.cc Thu Nov 19 18:45:24 2009 +0900 @@ -30,9 +30,13 @@ TaskManagerImpl::systask_init() { systask_register(); - +#ifdef SIMPLE_TASK + systask_start = create_task(StartTask,0,0,0,0); + systask_finish = create_task(FinishTask,0,0,0,0); +#else systask_start = create_task(StartTask); systask_finish = create_task(FinishTask); +#endif systask_start->spawn();