view example/renew_task/spe/spe-main.cc @ 451:95dbf6bd8cd9

tag fixed... test_nogl move
author kazz@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 25 Sep 2009 22:44:37 +0900
parents 58fd16298954
children 44c0bce54dcf
line wrap: on
line source

#include "Func.h"
#include "SchedTask.h"

SchedExternTask(RenewStart);
SchedExternTask(Renew1);
SchedExternTask(Renew2);
SchedExternTask(Renew3);
SchedExternTask(Renew4);

/**
 * この関数は SpeScheduler から呼ばれるので
 * 必ずこの関数名でお願いします。
 */
void
task_init(void)
{
    SchedRegisterTask(RENEW_START, RenewStart);
    SchedRegisterTask(RENEW1, Renew1);
    SchedRegisterTask(RENEW2, Renew2);
    SchedRegisterTask(RENEW3, Renew3);
    SchedRegisterTask(RENEW4, Renew4);
}