annotate example/HelloWorld/ppe/task_init.cc @ 298:768452fab95e draft

from EUC to UTF-8
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 07 Jun 2009 15:17:41 +0900
parents 028ffc9c0375
children 839e34d0cc3c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 #include "Func.h"
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2 #include "Scheduler.h"
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3
298
768452fab95e from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
4 /* 必ずこの位置に書いて */
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 SchedExternTask(Hello);
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7 /**
298
768452fab95e from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
8 * この関数は ../spe/spe-main と違って
768452fab95e from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
9 * 自分で呼び出せばいい関数なので
768452fab95e from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 109
diff changeset
10 * 好きな関数名でおk (SchedRegisterTask は必須)
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11 */
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13 void
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14 task_init(void)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
15 {
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
16 SchedRegisterTask(HELLO_TASK, Hello);
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
17 }