Mercurial > hg > Papers > 2018 > parusu-master
view paper/src/queueInterface.h @ 3:86340b0bf212
Update
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 17 Jan 2018 08:48:10 +0900 |
parents | |
children | 82c09c49bb4a |
line wrap: on
line source
typedef struct Queue<Impl>{ union Data* queue; union Data* data; __code next(...); __code whenEmpty(...); __code clear(Impl* queue, __code next(...)); __code put(Impl* queue, union Data* data, __code next(...)); __code take(Impl* queue, __code next(union Data*, ...)); __code isEmpty(Impl* queue, __code next(...), __code whenEmpty(...)); } Queue;