Mercurial > hg > Members > kono > Cerium
annotate example/HelloWorld/ppe/task_init.cc @ 1012:bba03a6843ba
fix HelloWorld
author | one@zeus.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Mon, 01 Nov 2010 18:27:19 +0900 |
parents | 44c0bce54dcf |
children |
rev | line source |
---|---|
109 | 1 #include "Func.h" |
2 #include "Scheduler.h" | |
3 | |
298 | 4 /* 必ずこの位置に書いて */ |
109 | 5 SchedExternTask(Hello); |
6 | |
7 /** | |
298 | 8 * この関数は ../spe/spe-main と違って |
9 * 自分で呼び出せばいい関数なので | |
10 * 好きな関数名でおk (SchedRegisterTask は必須) | |
109 | 11 */ |
12 | |
13 void | |
467
44c0bce54dcf
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
298
diff
changeset
|
14 task_init() |
109 | 15 { |
1012 | 16 SchedRegister(Hello); |
109 | 17 } |