Mercurial > hg > Game > Cerium
annotate example/many_task/spe/spe-main.cc @ 467:839e34d0cc3c draft
fix all examples. test_render is not working now.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 01 Oct 2009 19:25:25 +0900 |
parents | d7803cea25a3 |
children |
rev | line source |
---|---|
109 | 1 #include "Func.h" |
2 #include "Scheduler.h" | |
3 | |
4 SchedExternTask(QuickSort); | |
5 | |
6 /** | |
7 * この関数は SpeScheduler から呼ばれるので | |
8 * 必ずこの関数名でお願いします。 | |
9 */ | |
291 | 10 |
11 static void | |
12 spe_debug() | |
13 { | |
14 } | |
15 | |
109 | 16 void |
467
839e34d0cc3c
fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
291
diff
changeset
|
17 task_init(Scheduler *s) |
109 | 18 { |
291 | 19 spe_debug(); |
109 | 20 SchedRegisterTask(QUICK_SORT, QuickSort); |
21 } |