Mercurial > hg > Members > kono > Cerium
changeset 639:70c5c2d2eb24
fix
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();