view example/post_function/spe/Hello.cc @ 562:d65f21b18165 draft

name search
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Thu, 22 Oct 2009 22:22:31 +0900
parents 839e34d0cc3c
children 0e91ddaad798
line wrap: on
line source

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

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

static int
run(SchedTask *s, void *rbuf, void *wbuf)
{
    int id = s->get_param(0);

    printf("Hello, World!! post_func output %d\n", id);

    return 0;
}