Mercurial > hg > Members > kono > Cerium
comparison example/renew_task/ppe/Renew4.cc @ 467:44c0bce54dcf
fix all examples. test_render is not working now.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 01 Oct 2009 19:25:25 +0900 |
parents | 58fd16298954 |
children |
comparison
equal
deleted
inserted
replaced
466:4fa8760e18c2 | 467:44c0bce54dcf |
---|---|
3 #include "Func.h" | 3 #include "Func.h" |
4 | 4 |
5 /* これは必須 */ | 5 /* これは必須 */ |
6 SchedDefineTask(Renew4); | 6 SchedDefineTask(Renew4); |
7 | 7 |
8 int | 8 static int |
9 Renew4::run(void *rbuf, void *wbuf) | 9 run(SchedTask *s, void *rbuf, void *wbuf) |
10 { | 10 { |
11 printf("[PPE] ** running Renew4\n"); | 11 s->printf("[PPE] ** running Renew4\n"); |
12 | 12 |
13 printf("[PPE] ** finish Renew4\n"); | 13 s->printf("[PPE] ** finish Renew4\n"); |
14 | 14 |
15 return 0; | 15 return 0; |
16 } | 16 } |