comparison example/HelloWorld/ppe/Hello.cc @ 109:5c194c71eca8

Cerium cvs version
author gongo@gendarme.local
date Wed, 12 Nov 2008 17:39:33 +0900
parents
children 58fd16298954
comparison
equal deleted inserted replaced
108:6f3b3dd3c095 109:5c194c71eca8
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 task_id = get_param(0);
13
14 printf("[%d] Hello, World!!\n", task_id);
15
16 return 0;
17 }