view example/many_task/spe/spe-main.cc @ 354:81b25e5d5379

add example/get_segment and change spe/DrawSpan.cpp
author koba
date Wed, 15 Jul 2009 17:39:51 +0900
parents 5c194c71eca8
children 44c0bce54dcf
line wrap: on
line source

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

SchedExternTask(QuickSort);

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

static void 
spe_debug() 
{
}

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