view example/hello_array/spe/Hello.cc @ 1615:2c6e9ed9db3b draft

merge
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Tue, 14 May 2013 13:38:17 +0900
parents f0b7eeb72918
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;
}