annotate example/many_task/spe/QuickSort.h @ 639:70c5c2d2eb24

fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 19 Nov 2009 18:45:24 +0900
parents 44c0bce54dcf
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
1 #ifndef INCLUDED_TASK_QUICKSORT
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
2 #define INCLUDED_TASK_QUICKSORT
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
3
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
4 #ifndef INCLUDED_SCHED_TASK
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
5 # include "SchedTask.h"
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
6 #endif
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
7
220
gongo@localhost.localdomain
parents: 109
diff changeset
8 #include "sort.h"
467
44c0bce54dcf fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 316
diff changeset
9 /*
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
10 class QuickSort : public SchedTask {
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
11 public:
316
1d88baf53e57 run に smanager を引数として渡すようにした
e065746@localhost.localdomain
parents: 220
diff changeset
12 SchedConstructor(QuickSort);
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
13
316
1d88baf53e57 run に smanager を引数として渡すようにした
e065746@localhost.localdomain
parents: 220
diff changeset
14 int run(SchedTask *smanager, void *r, void *w);
220
gongo@localhost.localdomain
parents: 109
diff changeset
15 void quick_sort(Data *data, int left, int right);
gongo@localhost.localdomain
parents: 109
diff changeset
16 void bubble_sort(Data *data, int left, int right);
gongo@localhost.localdomain
parents: 109
diff changeset
17 void swap(Data *data, int left, int right );
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
18 };
467
44c0bce54dcf fix all examples. test_render is not working now.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents: 316
diff changeset
19 */
109
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
20
5c194c71eca8 Cerium cvs version
gongo@gendarme.local
parents:
diff changeset
21 #endif