annotate example/renew_task/spe/spe-main.cc @ 1293:82dc8a041cfe draft

refactoring matrix_test.cc
author Yutaka_Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
date Fri, 02 Dec 2011 15:03:54 +0900
parents 839e34d0cc3c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
192
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
1 #include "Func.h"
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
2 #include "SchedTask.h"
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
3
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
4 SchedExternTask(RenewStart);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
5 SchedExternTask(Renew1);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
6 SchedExternTask(Renew2);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
7 SchedExternTask(Renew3);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
8 SchedExternTask(Renew4);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
9
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
10 /**
298
768452fab95e from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 192
diff changeset
11 * この関数は SpeScheduler から呼ばれるので
768452fab95e from EUC to UTF-8
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 192
diff changeset
12 * 必ずこの関数名でお願いします。
192
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
13 */
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
14 void
467
839e34d0cc3c 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
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
16 {
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
17 SchedRegisterTask(RENEW_START, RenewStart);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
18 SchedRegisterTask(RENEW1, Renew1);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
19 SchedRegisterTask(RENEW2, Renew2);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
20 SchedRegisterTask(RENEW3, Renew3);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
21 SchedRegisterTask(RENEW4, Renew4);
6694da357750 add example/renew_task
gongo@localhost.localdomain
parents:
diff changeset
22 }