view example/HelloWorld/spe/Hello.cc @ 354:81b25e5d5379

add example/get_segment and change spe/DrawSpan.cpp
author koba
date Wed, 15 Jul 2009 17:39:51 +0900
parents 5c194c71eca8
children 58fee2fce1bd
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;
}