diff example/HelloWorld/ppe/Hello.cc @ 1012:bba03a6843ba

fix HelloWorld
author one@zeus.cr.ie.u-ryukyu.ac.jp
date Mon, 01 Nov 2010 18:27:19 +0900
parents 60aa3f241b10
children
line wrap: on
line diff
--- a/example/HelloWorld/ppe/Hello.cc	Sun Oct 31 18:02:06 2010 +0900
+++ b/example/HelloWorld/ppe/Hello.cc	Mon Nov 01 18:27:19 2010 +0900
@@ -4,10 +4,10 @@
 #include "Func.h"
 
 /* これは必須 */
-SchedDefineTask(Hello);
+SchedDefineTask1(Hello,hello);
 
 static int
-run(SchedTask *smanager, void *rbuf, void *wbuf)
+hello(SchedTask *smanager, void *rbuf, void *wbuf)
 {
     int task_id = (long)smanager->get_param(0);