annotate example/many_task/spe/spe-main.cc @ 109:028ffc9c0375 draft

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents
children d7803cea25a3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 #include "Func.h"
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2 #include "Scheduler.h"
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4 SchedExternTask(QuickSort);
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6 /**
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7 * この関数は SpeScheduler から呼ばれるので
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
8 * 必ずこの関数名でお願いします。
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
9 */
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10 void
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11 task_init(void)
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
12 {
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13 SchedRegisterTask(QUICK_SORT, QuickSort);
028ffc9c0375 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
14 }