view example/hello_array/spe/Hello.cc @ 874:8df4323f9fdb

new hash function
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sun, 04 Jul 2010 19:17:10 +0900
parents 71a58131b2c0
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;
}