Mercurial > hg > Game > Cerium
annotate example/hello_array/spe/Hello.cc @ 1615:2c6e9ed9db3b draft
merge
author | Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 14 May 2013 13:38:17 +0900 |
parents | f0b7eeb72918 |
children |
rev | line source |
---|---|
733 | 1 #include <stdio.h> |
2 #include "SchedTaskArray.h" | |
3 #include "Hello.h" | |
4 #include "Func.h" | |
5 | |
6 /* これは必須 */ | |
7 SchedDefineTask(Hello); | |
8 | |
9 static int | |
10 run(SchedTask *s,void *rbuf, void *wbuf) | |
11 { | |
12 // SchedTaskArray *a = (SchedTaskArray *)s; | |
13 | |
14 s->printf("Hello World\n"); | |
15 | |
16 return 0; | |
17 } |