view src/parallel_execution/Buffer.h @ 538:c0b6ce2ed820

Add comment
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 13 Feb 2018 04:35:17 +0900
parents d8b2036c6942
children
line wrap: on
line source

typedef struct Buffer<Impl>{
        union Data* buffer;
        union Data* data;
        __code put(Impl* buffer, union Data* data, __code next(...));
        __code take(Impl* buffer, __code next(union Data*, ...));
        __code next(...);
} Buffer;