Mercurial > hg > Members > kono > Cerium
comparison example/Bulk/ppe/Twice.cc @ 787:5df90e02e34f
fix Bulk
author | yutaka@localhost.localdomain |
---|---|
date | Sat, 24 Apr 2010 17:25:46 +0900 |
parents | 226d95fa2691 |
children | bcc81531a672 |
comparison
equal
deleted
inserted
replaced
786:ccf78a465459 | 787:5df90e02e34f |
---|---|
2 #include "SchedTaskArray.h" | 2 #include "SchedTaskArray.h" |
3 #include "Twice.h" | 3 #include "Twice.h" |
4 #include "Func.h" | 4 #include "Func.h" |
5 | 5 |
6 /* これは必須 */ | 6 /* これは必須 */ |
7 SchedDefineTask(Twice); | 7 SchedDefineTask1(Twice,twice_run); |
8 | 8 |
9 static int | 9 static int |
10 run(SchedTask *s,void *rbuf, void *wbuf) | 10 twice_run(SchedTask *s,void *rbuf, void *wbuf) |
11 { | 11 { |
12 // SchedTaskArray *a = (SchedTaskArray *)s; | 12 // SchedTaskArray *a = (SchedTaskArray *)s; |
13 | 13 |
14 int *i_data; | 14 int *i_data; |
15 int *o_data; | 15 int *o_data; |