view example/HelloWorld/spe/Hello.cc @ 460:433892ba596b draft

fix Scheduler.h
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 29 Sep 2009 11:51:25 +0900
parents 69e32bb76373
children 839e34d0cc3c
line wrap: on
line source

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

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

int
Hello::run(SchedTask *smanager, void *rbuf, void *wbuf)
{
    int task_id = get_param(0);

    printf("[%d] Hello, World!!\n", task_id);

    return 0;
}