view example/renew_task/ppe/Renew3.cc @ 356:b89ba1d96fff

merge heads
author aaa
date Fri, 17 Jul 2009 15:04:02 +0900
parents 81b25e5d5379 c59d8927c4d1
children 44c0bce54dcf
line wrap: on
line source

#include <stdio.h>
#include "Renew3.h"
#include "Func.h"

/* これは必須 */
SchedDefineTask(Renew3);

int
Renew3::run(void *rbuf, void *wbuf)
{
    printf("[PPE] ** running Renew3\n");
    
    printf("[PPE] Create Task : Renew4\n");
    TaskPtr nextTask = create_task(RENEW4);
    wait_task(nextTask);
    
    printf("[PPE] ** finish  Renew3\n");
    printf("\n");

    return 0;
}