Mercurial > hg > Game > Cerium
annotate example/many_task/spe/spe-main.cc @ 674:07351a5a51c9 draft
fix many task example (sort).
Dummy task is now system supported.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 06 Dec 2009 00:54:10 +0900 |
parents | 839e34d0cc3c |
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 } |