comparison src/parallel_execution/Iterator.cbc @ 374:fb50cf8aa615

Add Iterator Interface
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 18 Jul 2017 15:14:08 +0900
parents
children ad44fdb11433
comparison
equal deleted inserted replaced
373:03fdea4ef680 374:fb50cf8aa615
1 typedef struct Iterator<Impl>{
2 union Data* iterator;
3 __code exec(Impl* iterator, __code next(...));
4 __code barrier(Impl* iterator, __code next(...));
5 __code whenWait(...);
6 __code next(...);
7 } Iterator;
8