Mercurial > hg > Members > kono > Cerium
comparison example/many_task/ppe/QuickSort.h @ 467:44c0bce54dcf
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 | 29e338dbc280 |
children |
comparison
equal
deleted
inserted
replaced
466:4fa8760e18c2 | 467:44c0bce54dcf |
---|---|
5 # include "SchedTask.h" | 5 # include "SchedTask.h" |
6 #endif | 6 #endif |
7 | 7 |
8 #include "sort.h" | 8 #include "sort.h" |
9 | 9 |
10 class QuickSort : public SchedTask { | |
11 public: | |
12 SchedConstructor(QuickSort); | |
13 | |
14 int run(void *r, void *w); | |
15 void quick_sort(Data *data, int left, int right); | |
16 void swap(Data *data, int left, int right ); | |
17 }; | |
18 | 10 |
19 #endif | 11 #endif |