view src/parallel_execution/Semaphore.cbc @ 326:f23f6d0aa4e9 examples_directory

Add examples/calc.cbc and build but not work
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Tue, 18 Apr 2017 01:47:42 +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;