view src/parallel_execution/CodeGear.cbc @ 344:b8be1d51f002

Add CodeGear interface
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Fri, 26 May 2017 07:39:23 +0900
parents de1e315379c6
children 9f8a87389b68
line wrap: on
line source

typedef struct CodeGear<Impl>{
        union Data* codeGear;
        enum Code code;
        __code code(struct Integer* input1, struct Integer* input2, __code next(struct Integer* output, ...));
        union Data* dataGears[10];
        __code next(...);
} CodeGear;