Mercurial > hg > Members > kono > Cerium
annotate example/post_function/ppe/Hello.cc @ 298:58fd16298954
from EUC to UTF-8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Jun 2009 15:17:41 +0900 |
parents | 5c194c71eca8 |
children | 44c0bce54dcf |
rev | line source |
---|---|
109 | 1 #include <stdio.h> |
2 #include "SchedTask.h" | |
3 #include "Hello.h" | |
4 #include "Func.h" | |
5 | |
298 | 6 /* これは必須 */ |
109 | 7 SchedDefineTask(Hello); |
8 | |
9 int | |
10 Hello::run(void *rbuf, void *wbuf) | |
11 { | |
12 int id = get_param(0); | |
13 | |
14 printf("Hello, World!! post_func output %d\n", id); | |
15 | |
16 return 0; | |
17 } |