annotate example/renew_task/spe/spe-main.cc @ 540:c5a411c19e7e

merge
author tkaito@henri.cr.ie.u-ryukyu.ac.jp
date Wed, 21 Oct 2009 20:02:23 +0900
parents 44c0bce54dcf
children
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
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
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 }