view example/many_task/spe/QuickSort.h @ 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
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(SchedTask *smanager, 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