Mercurial > hg > Members > kono > Cerium
view example/get_segment/spe/Hello1.cc @ 433:c28b3f83ca65
overlay (on going)..
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 24 Sep 2009 21:08:37 +0900 (2009-09-24) |
parents | |
children | fd44dbd049aa |
line wrap: on
line source
#include <stdio.h> #include "Hello1.h" #include "Func.h" /* これは必須 */ SchedDefineDynamicTask(Hello1,segment2); int Hello1::run(SchedTask *smanager, void *rbuf, void *wbuf) { int task_id = get_param(0); printf("[%d] Hello, World Seg 2!!\n", task_id); return 0; }