comparison example/HelloWorld/ppe/Hello.cc @ 0:04e28d8d3c6f

first commit
author Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp>
date Mon, 08 Nov 2010 01:23:25 +0900
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:04e28d8d3c6f
1 #include <stdio.h>
2 #include "SchedTask.h"
3 #include "Hello.h"
4 #include "Func.h"
5
6 /* これは必須 */
7 SchedDefineTask(Hello);
8
9 static int
10 run(SchedTask *smanager, void *rbuf, void *wbuf)
11 {
12 int task_id = (long)smanager->get_param(0);
13
14 smanager->printf("[%d] Hello, World!!\n", task_id);
15
16 return 0;
17 }