Mercurial > hg > Game > Cerium
comparison example/basic/main.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 | da8edd0735f2 |
children | 5b995810b86a |
comparison
equal
deleted
inserted
replaced
297:54725883131b | 298:768452fab95e |
---|---|
23 } | 23 } |
24 printf("\n"); | 24 printf("\n"); |
25 } | 25 } |
26 | 26 |
27 /** | 27 /** |
28 * タスク終了後の data1, data2 の確認 | 28 * 帥鴻腟篋緇 data1, data2 腆肴 |
29 */ | 29 */ |
30 void | 30 void |
31 twice_result(void *a) | 31 twice_result(void *a) |
32 { | 32 { |
33 int* data = (int*)a; | 33 int* data = (int*)a; |
86 * add_param(32bit parameter); | 86 * add_param(32bit parameter); |
87 */ | 87 */ |
88 twice->add_param(length); | 88 twice->add_param(length); |
89 | 89 |
90 /* | 90 /* |
91 * set_post() で ppe task を渡せるようにしたい | 91 * set_post() ppe task 羝< |
92 */ | 92 */ |
93 twice->set_post(twice_result, (void*)data); | 93 twice->set_post(twice_result, (void*)data); |
94 | 94 |
95 // add Active Queue | 95 // add Active Queue |
96 twice->spawn(); | 96 twice->spawn(); |