view example/many_task/spe/spe-main.cc @ 467:44c0bce54dcf

fix all examples. test_render is not working now.
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 01 Oct 2009 19:25:25 +0900
parents 3569d31705b6
children
line wrap: on
line source

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

SchedExternTask(QuickSort);

/**
 * この関数は SpeScheduler から呼ばれるので
 * 必ずこの関数名でお願いします。
 */

static void 
spe_debug() 
{
}

void
task_init(Scheduler *s)
{
    spe_debug();
    SchedRegisterTask(QUICK_SORT, QuickSort);
}