Mercurial > hg > Members > Moririn
view src/parallel_execution/Semaphore.cbc @ 361:a2c01ab30ea2
Add synchronized queue of paper
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 28 Jun 2017 05:48:39 +0900 |
parents | de1e315379c6 |
children |
line wrap: on
line source
typedef struct Semaphore<Impl>{ union Data* semaphore; __code p(Impl* semaphore, __code next(...)); __code v(Impl* semaphore, __code next(...)); __code next(...); } Semaphore;