Mercurial > hg > Papers > 2022 > ikki-master
annotate Paper/src/SynchronizedQueue.h @ 10:7573c185aecf
add impl
author | ichikitakahiro <e165713@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 25 Jan 2022 22:27:17 +0900 |
parents | a2da5ed4a3b3 |
children |
rev | line source |
---|---|
2
a2da5ed4a3b3
add about Context etc
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
1 typedef struct SynchronizedQueue <> impl Queue { |
a2da5ed4a3b3
add about Context etc
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
2 struct Element* top; |
a2da5ed4a3b3
add about Context etc
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
3 struct Element* last; |
a2da5ed4a3b3
add about Context etc
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
4 struct Atomic* atomic; |
a2da5ed4a3b3
add about Context etc
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
5 } SynchronizedQueue; |