Mercurial > hg > Game > Cerium
view example/get_segment/spe/Hello.cc @ 460:433892ba596b draft
fix Scheduler.h
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 29 Sep 2009 11:51:25 +0900 |
parents | 54c49df8dcda |
children | ca987c0beb11 |
line wrap: on
line source
#include <stdio.h> #include "Hello.h" #include "Func.h" /* これは必須 */ SchedDefineDynamicTask(Hello,0); int Hello::run(SchedTask *smanager, void *rbuf, void *wbuf) { int task_id = get_param(0); fprintf(stderr,"[%d] Hello, World!! Seg1 \n", task_id); fprintf(stderr,"0x%0x\n", (unsigned int)&createTask_Hello); return 0; }