Mercurial > hg > Game > Cerium
view example/renew_task/ppe/Renew2.cc @ 467:839e34d0cc3c draft
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 | 5b995810b86a |
children | 278db3ca751d |
line wrap: on
line source
#include <stdio.h> #include "Renew2.h" #include "Func.h" /* これは必須 */ SchedDefineTask(Renew2); static int run(SchedTask *s, void *rbuf, void *wbuf) { s->printf("[PPE] ** running Renew2\n"); s->printf("[PPE] Create Task : Renew3\n"); TaskPtr nextTask = s->create_task(RENEW3); s->wait_task(nextTask); s->printf("[PPE] ** finish Renew2\n"); s->printf("\n"); return 0; }