Mercurial > hg > Members > kono > Cerium
view example/renew_task/ppe/Renew1.cc @ 639:70c5c2d2eb24
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Nov 2009 18:45:24 +0900 |
parents | 0decff4e867b |
children |
line wrap: on
line source
#include <stdio.h> #include "Renew1.h" #include "Func.h" /* これは必須 */ SchedDefineTask(Renew1); static int run(SchedTask *s, void *rbuf, void *wbuf) { s->printf("[PPE] ** running Renew1\n"); s->printf("[PPE] Create Task : Renew2\n"); HTaskPtr nextTask = s->create_task(RENEW2); // s->wait_task(nextTask); nextTask->spawn(); s->printf("[PPE] ** finish Renew1\n"); s->printf("\n"); return 0; }