view paper/src/AtomicT.h @ 111:4642d2f215d2

update
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Sat, 06 Feb 2021 15:42:26 +0900
parents
children
line wrap: on
line source

typedef struct AtomicT <T>{
    __code checkAndSet(Impl* atomicT,T oldData, T newData, __code next(...), __code fail(...));
    __code set(Impl* atomicT,T newData, __code next(...));
    __code next(...);
    __code fail(...);
} AtomicT;