Mercurial > hg > Game > Cerium
view example/many_task/spe/QuickSort.h @ 220:305ac1897c50 draft
fix
author | gongo@localhost.localdomain |
---|---|
date | Mon, 09 Feb 2009 21:58:45 +0900 |
parents | 028ffc9c0375 |
children | f92cd4e563dc |
line wrap: on
line source
#ifndef INCLUDED_TASK_QUICKSORT #define INCLUDED_TASK_QUICKSORT #ifndef INCLUDED_SCHED_TASK # include "SchedTask.h" #endif #include "sort.h" class QuickSort : public SchedTask { public: SchedConstructor(QuickSort); int run(void *r, void *w); void quick_sort(Data *data, int left, int right); void bubble_sort(Data *data, int left, int right); void swap(Data *data, int left, int right ); }; #endif