view src/parallel_execution/Iterator.cbc @ 401:408b4aab7610

Supported par goto iterate statement for perl script
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 29 Aug 2017 21:50:57 +0900
parents 9049c19036fd
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;