annotate example/Pipeline/spe/spe-main.cc @ 963:62b72c6199f3 draft

SgChange
author tkaito
date Thu, 05 Aug 2010 22:47:38 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
963
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
1 #include "Func.h"
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
2 #include "SchedTask.h"
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
3
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
4 SchedExternTask(Twice);
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
5
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
6 /**
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
7 * この関数は SpeScheduler から呼ばれるので
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
8 * 必ずこの関数名でお願いします。
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
9 */
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
10 void
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
11 task_init(Scheduler *s)
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
12 {
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
13 SchedRegister(Twice);
62b72c6199f3 SgChange
tkaito
parents:
diff changeset
14 }