Mercurial > hg > Members > kono > Cerium
diff TaskManager/kernel/ppe/TaskManagerImpl.cc @ 639:70c5c2d2eb24
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | d433fc37587d |
children | 7c9ded1ea750 |
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();