view example/many_task/ppe/QuickSort.h @ 220:305ac1897c50 draft

fix
author gongo@localhost.localdomain
date Mon, 09 Feb 2009 21:58:45 +0900
parents 028ffc9c0375
children 839e34d0cc3c
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 swap(Data *data, int left, int right );
};

#endif