Mercurial > hg > Gears > GearsAgda
view src/parallel_execution/Iterator.cbc @ 378:9049c19036fd
Add iterator index
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 19 Jul 2017 23:02:25 +0900 |
parents | ad44fdb11433 |
children | 85b0ddbf458e |
line wrap: on
line source
typedef struct Iterator<Impl>{ union Data* iterator; 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;