comparison example/HelloWorld/spe/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 "Hello.h"
3 #include "Func.h"
4
5 /* ¤³¤ì¤Ïɬ¿Ü */
6 SchedDefineTask(Hello);
7
8 int
9 Hello::run(void *rbuf, void *wbuf)
10 {
11 int task_id = get_param(0);
12
13 printf("[%d] Hello, World!!\n", task_id);
14
15 return 0;
16 }