Mercurial > hg > Members > Moririn
view src/parallel_execution/Queue.cbc @ 418:a74bec89c198
generate main
author | mir3636 |
---|---|
date | Fri, 06 Oct 2017 14:39:36 +0900 |
parents | fb50cf8aa615 |
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;