Mercurial > hg > Members > kono > Cerium
view example/post_function/ppe/Hello.cc @ 540:c5a411c19e7e
merge
author | tkaito@henri.cr.ie.u-ryukyu.ac.jp |
---|---|
date | Wed, 21 Oct 2009 20:02:23 +0900 |
parents | 44c0bce54dcf |
children | 60aa3f241b10 |
line wrap: on
line source
#include <stdio.h> #include "SchedTask.h" #include "Hello.h" #include "Func.h" /* これは必須 */ SchedDefineTask(Hello); static int run(SchedTask *s, void *rbuf, void *wbuf) { int id = s->get_param(0); s->printf("Hello, World!! post_func output %d\n", id); return 0; }