annotate example/task_queue/ppe/task_init.cc @ 1584:4966029eeb32 draft

Fix
author Masa <e085726@ie.u-ryukyu.ac.jp>
date Sun, 31 Mar 2013 20:29:36 +0900
parents 6b2dda81ea9d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
492
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #include "Func.h"
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #include "Scheduler.h"
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 /* 必ずこの位置に書いて */
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 SchedExternTask(Hello);
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 /**
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 * この関数は ../spe/spe-main と違って
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 * 自分で呼び出せばいい関数なので
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 * 好きな関数名でおk (SchedRegisterTask は必須)
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 */
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 void
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 task_init()
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 {
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 SchedRegisterTask(HELLO_TASK, Hello);
6b2dda81ea9d memcpy for param
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 }