projects
/
c11tester.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3af3ac7
)
add a special order for volatile loads and stores
author
weiyu
<weiyuluo1232@gmail.com>
Mon, 22 Jul 2019 19:17:49 +0000
(12:17 -0700)
committer
weiyu
<weiyuluo1232@gmail.com>
Mon, 22 Jul 2019 19:17:49 +0000
(12:17 -0700)
include/memoryorder.h
patch
|
blob
|
history
diff --git
a/include/memoryorder.h
b/include/memoryorder.h
index 2117b5eb75fffbdf133267902390006839523ca9..2e617a90c5d75b044a88d26f239b819cd8114061 100644
(file)
--- a/
include/memoryorder.h
+++ b/
include/memoryorder.h
@@
-14,7
+14,8
@@
namespace std {
typedef enum memory_order {
memory_order_relaxed, memory_order_consume, memory_order_acquire,
- memory_order_release, memory_order_acq_rel, memory_order_seq_cst
+ memory_order_release, memory_order_acq_rel, memory_order_seq_cst,
+ volatile_order
} memory_order;
#ifdef __cplusplus