Mercurial > hg > Game > Cerium
comparison example/HelloWorld/ppe/task_init.cc @ 109:028ffc9c0375 draft
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | |
children | 768452fab95e |
comparison
equal
deleted
inserted
replaced
108:6f3b3dd3c095 | 109:028ffc9c0375 |
---|---|
1 #include "Func.h" | |
2 #include "Scheduler.h" | |
3 | |
4 /* 必ずこの位置に書いて */ | |
5 SchedExternTask(Hello); | |
6 | |
7 /** | |
8 * この関数は ../spe/spe-main と違って | |
9 * 自分で呼び出せばいい関数なので | |
10 * 好きな関数名でおk (SchedRegisterTask は必須) | |
11 */ | |
12 | |
13 void | |
14 task_init(void) | |
15 { | |
16 SchedRegisterTask(HELLO_TASK, Hello); | |
17 } |