view src/parallel_execution/Semaphore.cbc @ 330:a258505bf9fd examples_directory

Add assert calc examples
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Tue, 18 Apr 2017 18:58:16 +0900
parents fd470e090403
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;