comparison src/parallel_execution/Lock.h @ 506:04441dd783c5

Add LockImpl
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Tue, 02 Jan 2018 06:16:40 +0900
parents
children
comparison
equal deleted inserted replaced
505:528c31b045de 506:04441dd783c5
1 typedef struct Lock<Impl>{
2 union Data* lock;
3 __code doLock(Impl* lock, __code next(...));
4 __code doUnlock(Impl* lock, __code next(...));
5 __code next(...);
6 } Lock;