Mercurial > hg > Members > kono > Cerium
view example/post_function/ppe/Hello.cc @ 625:60aa3f241b10
64bit mode worked on Mac OS X.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 16 Nov 2009 10:59:55 +0900 |
parents | 44c0bce54dcf |
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; }