Mercurial > hg > Papers > 2021 > anatofuz-master
view paper/src/queue.h @ 111:4642d2f215d2
update
author | anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 06 Feb 2021 15:42:26 +0900 |
parents | e1842c36937e |
children |
line wrap: on
line source
typedef struct Queue<Impl>{ union Data* queue; union Data* data; __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(...)); __code next(...); } Queue;