annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 typedef struct AtomicT <T>{
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 __code checkAndSet(Impl* atomicT,T oldData, T newData, __code next(...), __code fail(...));
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 __code set(Impl* atomicT,T newData, __code next(...));
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 __code next(...);
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 __code fail(...);
anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 } AtomicT;