Mercurial > hg > Members > Moririn
view src/parallel_execution/Semaphore.cbc @ 286:fd470e090403
Add sempahore
author | Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 05 Feb 2017 22:15:27 +0900 |
parents | |
children | de1e315379c6 |
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;