view example/post_function/ppe/Hello.cc @ 0:04e28d8d3c6f

first commit
author Daiki KINJYO <e085722@ie.u-ryukyu.ac.jp>
date Mon, 08 Nov 2010 01:23:25 +0900
parents
children
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)
{
    long id = (long)s->get_param(0);

    s->printf("Hello, World!! post_func output %ld\n", id);

    return 0;
}