annotate example/renew_task/spe/spe-main.cc @ 451:95dbf6bd8cd9

tag fixed... test_nogl move
author kazz@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 25 Sep 2009 22:44:37 +0900
parents 58fd16298954
children 44c0bce54dcf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
192
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
1 #include "Func.h"
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
2 #include "SchedTask.h"
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
3
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
4 SchedExternTask(RenewStart);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
5 SchedExternTask(Renew1);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
6 SchedExternTask(Renew2);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
7 SchedExternTask(Renew3);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
8 SchedExternTask(Renew4);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
9
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
10 /**
298
58fd16298954 from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 192
diff changeset
11 * この関数は SpeScheduler から呼ばれるので
58fd16298954 from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 192
diff changeset
12 * 必ずこの関数名でお願いします。
192
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
13 */
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
14 void
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
15 task_init(void)
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
16 {
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
17 SchedRegisterTask(RENEW_START, RenewStart);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
18 SchedRegisterTask(RENEW1, Renew1);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
19 SchedRegisterTask(RENEW2, Renew2);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
20 SchedRegisterTask(RENEW3, Renew3);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
21 SchedRegisterTask(RENEW4, Renew4);
4f5c64e713c7 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
22 }