view example/hello_array/spe/Hello.cc @ 733:71a58131b2c0

add array sample helloworld
author yutaka@henri.cr.ie.u-ryukyu.ac.jp
date Thu, 24 Dec 2009 05:01:12 +0900
parents
children
line wrap: on
line source

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

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

static int
run(SchedTask *s,void *rbuf, void *wbuf)
{
    // SchedTaskArray *a = (SchedTaskArray *)s;

    s->printf("Hello World\n");

    return 0;
}