Mercurial > hg > Game > Cerium
annotate example/renew_task/ppe/Renew2.cc @ 298:768452fab95e draft
from EUC to UTF-8
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 07 Jun 2009 15:17:41 +0900 |
parents | 6694da357750 |
children | 364abe879376 |
rev | line source |
---|---|
192 | 1 #include <stdio.h> |
2 #include "Renew2.h" | |
3 #include "Func.h" | |
4 | |
298 | 5 /* これは必須 */ |
192 | 6 SchedDefineTask(Renew2); |
7 | |
8 int | |
9 Renew2::run(void *rbuf, void *wbuf) | |
10 { | |
11 printf("[PPE] ** running Renew2\n"); | |
12 | |
13 printf("[PPE] Create Task : Renew3\n"); | |
14 TaskPtr nextTask = smanager->create_task(RENEW3); | |
15 smanager->wait_task(nextTask); | |
16 | |
17 printf("[PPE] ** finish Renew2\n"); | |
18 printf("\n"); | |
19 | |
20 return 0; | |
21 } |