Mercurial > hg > Game > Cerium
annotate example/get_segment/ppe/task_init.cc @ 1615:2c6e9ed9db3b draft
merge
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 14 May 2013 13:38:17 +0900 |
parents | a1c670e29cde |
children |
rev | line source |
---|---|
354 | 1 #include "Func.h" |
2 #include "Scheduler.h" | |
3 | |
4 /* 必ずこの位置に書いて */ | |
5 SchedExternTask(Hello); | |
440
a1c670e29cde
fix get_segment exaple PPE task
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
354
diff
changeset
|
6 SchedExternTask(Hello1); |
354 | 7 |
8 /** | |
9 * この関数は ../spe/spe-main と違って | |
10 * 自分で呼び出せばいい関数なので | |
11 * 好きな関数名でおk (SchedRegisterTask は必須) | |
12 */ | |
13 | |
14 void | |
15 task_init(void) | |
16 { | |
17 SchedRegisterTask(HELLO_TASK, Hello); | |
440
a1c670e29cde
fix get_segment exaple PPE task
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
354
diff
changeset
|
18 SchedRegisterTask(HELLO_TASK1, Hello1); |
354 | 19 } |