comparison example/MemList/spe/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 "Hello.h"
3 #include "Func.h"
4
5 /* これは必須 */
6 SchedDefineTask(Hello);
7
8 static int
9 run(SchedTask *smanager, void *rbuf, void *wbuf)
10 {
11 int task_id = (long)smanager->get_param(0);
12
13 smanager->printf("[%d] Hello, World!!\n", task_id);
14
15 return 0;
16 }