Mercurial > hg > Members > kono > Cerium
annotate example/many_task/spe/spe-main.cc @ 354:81b25e5d5379
add example/get_segment and change spe/DrawSpan.cpp
author | koba |
---|---|
date | Wed, 15 Jul 2009 17:39:51 +0900 |
parents | 5c194c71eca8 |
children | 44c0bce54dcf |
rev | line source |
---|---|
109 | 1 #include "Func.h" |
2 #include "Scheduler.h" | |
3 | |
4 SchedExternTask(QuickSort); | |
5 | |
6 /** | |
7 * この関数は SpeScheduler から呼ばれるので | |
8 * 必ずこの関数名でお願いします。 | |
9 */ | |
354 | 10 |
11 static void | |
12 spe_debug() | |
13 { | |
14 } | |
15 | |
109 | 16 void |
17 task_init(void) | |
18 { | |
354 | 19 spe_debug(); |
109 | 20 SchedRegisterTask(QUICK_SORT, QuickSort); |
21 } |