view example/post_function/ppe/Hello.cc @ 575:341f1f881a9b draft

Linda API worked. (slightly unreliable)
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 23 Oct 2009 15:53:24 +0900
parents 839e34d0cc3c
children 94d82f2c842f
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);

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

    return 0;
}