Mercurial > hg > Members > kono > Cerium
view example/hello_array/ppe/task_init.cc @ 733:71a58131b2c0
add array sample helloworld
author | yutaka@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Thu, 24 Dec 2009 05:01:12 +0900 |
parents | |
children |
line wrap: on
line source
#include "Func.h" #include "Scheduler.h" /* 必ずこの位置に書いて */ SchedExternTask(Hello); /** * この関数は ../spe/spe-main と違って * 自分で呼び出せばいい関数なので * 好きな関数名でおk (SchedRegisterTask は必須) */ void task_init(void) { SchedRegister(Hello); }