Mercurial > hg > Members > kono > Cerium
annotate example/post_function/ppe/Hello.cc @ 109:5c194c71eca8
Cerium cvs version
author | gongo@gendarme.local |
---|---|
date | Wed, 12 Nov 2008 17:39:33 +0900 |
parents | |
children | 58fd16298954 |
rev | line source |
---|---|
109 | 1 #include <stdio.h> |
2 #include "SchedTask.h" | |
3 #include "Hello.h" | |
4 #include "Func.h" | |
5 | |
6 /* ¤³¤ì¤Ïɬ¿Ü */ | |
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 } |