view Paper/src/semaphoreInterface.h @ 32:4915eaa51ee0 default tip

Add front
author soto <soto@cr.ie.u-ryukyu.ac.jp>
date Thu, 23 Feb 2023 18:39:56 +0900
parents a72446879486
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;