Mercurial > hg > Game > Cerium
view example/Simple/ppe/task_init.cc @ 640:ecf056ddd21a draft
SimpeTask on Cell worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 20 Nov 2009 23:12:34 +0900 |
parents | 62e570ac5db2 |
children |
line wrap: on
line source
#include "Func.h" #include "Scheduler.h" /* 必ずこの位置に書いて */ SchedExternTask(Twice); /** * この関数は ../spe/spe-main と違って * 自分で呼び出せばいい関数なので * 好きな関数名でおk (SchedRegisterTask は必須) */ void task_init(void) { SchedRegister(Twice); }