Mercurial > hg > Members > kono > Cerium
view example/HelloWorld/spe/spe-main.cc @ 1033:431936c0cc96
add application main method and task.
author | koba <koba@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 26 Nov 2010 04:32:59 +0900 |
parents | 44c0bce54dcf |
children | f8e9c985e2a8 |
line wrap: on
line source
#include "Func.h" #include "Scheduler.h" SchedExternTask(Hello); /** * この関数は SpeScheduler から呼ばれるので * 必ずこの関数名でお願いします。 */ void task_init(Scheduler *s) { SchedRegisterTask(HELLO_TASK, Hello); }