Mercurial > hg > Members > kono > Cerium
view example/renew_task/spe/spe-main.cc @ 540:c5a411c19e7e
merge
author | tkaito@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Wed, 21 Oct 2009 20:02:23 +0900 |
parents | 44c0bce54dcf |
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); }