From da513a6abd6fdfdd7050a668579b269bf8e077de Mon Sep 17 00:00:00 2001 From: weiyu Date: Mon, 22 Jul 2019 12:17:49 -0700 Subject: [PATCH] add a special order for volatile loads and stores --- include/memoryorder.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/memoryorder.h b/include/memoryorder.h index 2117b5eb..2e617a90 100644 --- 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 -- 2.34.1