diff example/fileread/ppe/task_init.cc @ 1824:016746241fc7 draft

fix fileread
author masakoha
date Sat, 14 Dec 2013 18:31:15 +0900
parents 797e3ec1ca74
children 82c2b9eec625
line wrap: on
line diff
--- a/example/fileread/ppe/task_init.cc	Fri Dec 13 20:46:46 2013 +0900
+++ b/example/fileread/ppe/task_init.cc	Sat Dec 14 18:31:15 2013 +0900
@@ -2,8 +2,8 @@
 #include "Scheduler.h"
 
 /* 必ずこの位置に書いて */
-SchedExternTask(Read);
-SchedExternTask(Print);
+SchedExternTask(Read_task);
+SchedExternTask(Print_task);
 
 /**
  * この関数は ../spe/spe-main と違って
@@ -14,6 +14,6 @@
 void
 task_init(void)
 {
-  SchedRegisterTask(READ_TASK, Read);
-  SchedRegisterTask(PRINT_TASK, Print);
+  SchedRegister(Read_task);
+  SchedRegister(Print_task);
 }