view example/HelloWorld/spe/Hello.cc @ 357:6602b9ba4bfd draft

fix spe/DrawSpan.{cpp, h} spe/DrawSpanRenew.cpp
author root@henri.cr.ie.u-ryukyu.ac.jp
date Fri, 17 Jul 2009 17:13:17 +0900
parents 768452fab95e
children 69e32bb76373
line wrap: on
line source

#include <stdio.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;
}