view Paper/src/semaphoreInterface.h @ 0:c59202657321

init
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Tue, 02 Nov 2021 06:55:58 +0900
parents
children
line wrap: on
line source

typedef struct Semaphore<Impl>{
        union Data* semaphore;
        __code next(...);

        // method
        __code p(Impl* semaphore, __code next(...)); 
        __code v(Impl* semaphore, __code next(...)); 
} Semaphore;