view example/renew_task/spe/spe-main.cc @ 1293:82dc8a041cfe draft

refactoring matrix_test.cc
author Yutaka_Kinjyo <yutaka@cr.ie.u-ryukyu.ac.jp>
date Fri, 02 Dec 2011 15:03:54 +0900
parents 839e34d0cc3c
children
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(Scheduler *s)
{
    SchedRegisterTask(RENEW_START, RenewStart);
    SchedRegisterTask(RENEW1, Renew1);
    SchedRegisterTask(RENEW2, Renew2);
    SchedRegisterTask(RENEW3, Renew3);
    SchedRegisterTask(RENEW4, Renew4);
}