Mercurial > hg > Game > Cerium
view example/get_segment/spe/Hello.cc @ 426:69e32bb76373 draft
minor fix.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 24 Sep 2009 17:44:30 +0900 |
parents | cebb48da955e |
children | 19c7c7cb02bf |
line wrap: on
line source
#include <stdio.h> #include "Hello.h" #include "Func.h" /* これは必須 */ SchedDefineDynamicTask(Hello,Segment1); int Hello::run(SchedTask *smanager, void *rbuf, void *wbuf) { int task_id = get_param(0); printf("[%d] Hello, World!!\n", task_id); return 0; }