diff src/parallel_execution/Iterator.cbc @ 375:ad44fdb11433

Fix compile error but not work
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 18 Jul 2017 16:13:11 +0900
parents fb50cf8aa615
children 9049c19036fd
line wrap: on
line diff
--- a/src/parallel_execution/Iterator.cbc	Tue Jul 18 15:14:08 2017 +0900
+++ b/src/parallel_execution/Iterator.cbc	Tue Jul 18 16:13:11 2017 +0900
@@ -1,7 +1,8 @@
 typedef struct Iterator<Impl>{
         union Data* iterator;
-        __code exec(Impl* iterator, __code next(...));
-        __code barrier(Impl* iterator, __code next(...));
+        struct Context* task;
+        __code exec(Impl* iterator, struct TaskManager* taskManager, struct Context* task, __code next(...));
+        __code barrier(Impl* iterator, struct Context* task, __code next(...), __code whenWait(...));
         __code whenWait(...);
         __code next(...);
 } Iterator;