comparison 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
comparison
equal deleted inserted replaced
374:fb50cf8aa615 375:ad44fdb11433
1 typedef struct Iterator<Impl>{ 1 typedef struct Iterator<Impl>{
2 union Data* iterator; 2 union Data* iterator;
3 __code exec(Impl* iterator, __code next(...)); 3 struct Context* task;
4 __code barrier(Impl* iterator, __code next(...)); 4 __code exec(Impl* iterator, struct TaskManager* taskManager, struct Context* task, __code next(...));
5 __code barrier(Impl* iterator, struct Context* task, __code next(...), __code whenWait(...));
5 __code whenWait(...); 6 __code whenWait(...);
6 __code next(...); 7 __code next(...);
7 } Iterator; 8 } Iterator;
8 9