Mercurial > hg > GearsTemplate
view src/parallel_execution/Semaphore.cbc @ 434:b75badf42701
Define Executor to context
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 31 Oct 2017 17:55:50 +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;