Mercurial > hg > Papers > 2022 > ikki-master
view Paper/src/Atomic.h @ 43:9067e6c32410 default tip
add backCover
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 28 Feb 2022 22:32:44 +0900 |
parents | 38dfa4d8b0be |
children |
line wrap: on
line source
typedef struct Atomic<>{ union Data* atomic; union Data** ptr; union Data* oldData; union Data* newData; __code checkAndSet(Impl* atomic, union Data** ptr, union Data* oldData, union Data* newData, __code next(...), __code fail(...)); __code next(...); __code fail(...); } Atomic;