Mercurial > hg > Members > kono > Cerium
annotate example/get_segment/spe/spe-main.cc @ 421:cd77224d4224
Code load implementation... (not yet tested)
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 24 Sep 2009 16:04:23 +0900 |
parents | 81b25e5d5379 |
children | 58fee2fce1bd |
rev | line source |
---|---|
354 | 1 #include "Func.h" |
2 #include "Scheduler.h" | |
3 | |
421
cd77224d4224
Code load implementation... (not yet tested)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
354
diff
changeset
|
4 SchedExternDynamicTask(Hello); |
354 | 5 |
6 /** | |
7 * この関数は SpeScheduler から呼ばれるので | |
8 * 必ずこの関数名でお願いします。 | |
9 */ | |
10 void | |
11 task_init(void) | |
12 { | |
421
cd77224d4224
Code load implementation... (not yet tested)
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
354
diff
changeset
|
13 SchedRegisterDynamicTask(HELLO_TASK, Hello, Segment1); |
354 | 14 } |