view src/parallel_execution/Lock.h @ 538:c0b6ce2ed820

Add comment
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 13 Feb 2018 04:35:17 +0900
parents 04441dd783c5
children
line wrap: on
line source

typedef struct Lock<Impl>{
        union Data* lock;
        __code doLock(Impl* lock, __code next(...)); 
        __code doUnlock(Impl* lock, __code next(...)); 
        __code next(...);
} Lock;