view example/HelloWorld/ppe/Hello.cc @ 298:58fd16298954

from EUC to UTF-8
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 07 Jun 2009 15:17:41 +0900
parents 5c194c71eca8
children 44c0bce54dcf
line wrap: on
line source

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

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

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

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

    return 0;
}