view example/many_task/ppe/task_init.cc @ 1852:7e9ebc1b08b6 draft

fix
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 21 Dec 2013 19:53:05 +0900
parents 0dd39c19dbb2
children c21bd32e20b9
line wrap: on
line source

#include "Func.h"
#include "Scheduler.h"

SchedExternTask(QuickSort);
SchedExternTask(SortSimple);
SchedExternTask(SortCompat);

void
task_init(void)
{
    SchedRegisterTask(QUICK_SORT, QuickSort);
    SchedRegister(SortSimple);
    //    SchedRegister(SortCompat);
}