Mercurial > hg > Members > kono > Cerium
view example/renew_task/ppe/task_init.cc @ 639:70c5c2d2eb24
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | df499063ccda |
children |
line wrap: on
line source
#include "Func.h" #include "Scheduler.h" /* 必ずこの位置に書いて */ SchedExternTask(RenewRepeat); SchedExternTask(RenewStart); SchedExternTask(Renew1); SchedExternTask(Renew2); SchedExternTask(Renew3); SchedExternTask(Renew4); /** * この関数は ../spe/spe-main と違って * 自分で呼び出せばいい関数なので * 好きな関数名でおk (SchedRegisterTask は必須) */ void task_init(void) { SchedRegisterTask(RENEW_START, RenewStart); SchedRegisterTask(RENEW_REPEAT, RenewRepeat); SchedRegisterTask(RENEW1, Renew1); SchedRegisterTask(RENEW2, Renew2); SchedRegisterTask(RENEW3, Renew3); SchedRegisterTask(RENEW4, Renew4); }