Mercurial > hg > Members > kono > Cerium
annotate example/renew_task/spe/spe-main.cc @ 467:44c0bce54dcf
fix all examples. test_render is not working now.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 01 Oct 2009 19:25:25 +0900 |
parents | 58fd16298954 |
children |
rev | line source |
---|---|
192 | 1 #include "Func.h" |
2 #include "SchedTask.h" | |
3 | |
4 SchedExternTask(RenewStart); | |
5 SchedExternTask(Renew1); | |
6 SchedExternTask(Renew2); | |
7 SchedExternTask(Renew3); | |
8 SchedExternTask(Renew4); | |
9 | |
10 /** | |
298 | 11 * この関数は SpeScheduler から呼ばれるので |
12 * 必ずこの関数名でお願いします。 | |
192 | 13 */ |
14 void | |
467
44c0bce54dcf
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
298
diff
changeset
|
15 task_init(Scheduler *s) |
192 | 16 { |
17 SchedRegisterTask(RENEW_START, RenewStart); | |
18 SchedRegisterTask(RENEW1, Renew1); | |
19 SchedRegisterTask(RENEW2, Renew2); | |
20 SchedRegisterTask(RENEW3, Renew3); | |
21 SchedRegisterTask(RENEW4, Renew4); | |
22 } |