view paper/src/AtomicT.h @ 158:d2be76d48b00 default tip

update
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Wed, 17 Feb 2021 14:37:21 +0900
parents 4642d2f215d2
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;