Mercurial > hg > Members > kono > Cerium
comparison example/post_function/ppe/task_init.cc @ 109:5c194c71eca8
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | |
children | 58fd16298954 |
comparison
equal
deleted
inserted
replaced
108:6f3b3dd3c095 | 109:5c194c71eca8 |
---|---|
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 } |