aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-19 05:04:17 -0800
committerChris Robinson <[email protected]>2018-11-19 05:04:17 -0800
commitac2a420351a2489fc347689968767a15f863ec77 (patch)
tree262c3a296386959fbcb43bfbbbd93acfef6cb5c5 /common
parentad5f9d9b22f8860f0c6ca06004c134182dda95df (diff)
Remove the ATOMIC_THREAD_FENCE macro
Diffstat (limited to 'common')
-rw-r--r--common/atomic.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/atomic.h b/common/atomic.h
index b25bd4dd..87560e3d 100644
--- a/common/atomic.h
+++ b/common/atomic.h
@@ -15,7 +15,6 @@
#define ATOMIC(T) std::atomic<T>
#define ATOMIC_INIT std::atomic_init
-#define ATOMIC_INIT_STATIC ATOMIC_VAR_INIT
#define ATOMIC_LOAD std::atomic_load_explicit
#define ATOMIC_STORE std::atomic_store_explicit
@@ -23,8 +22,6 @@
#define ATOMIC_ADD std::atomic_fetch_add_explicit
#define ATOMIC_SUB std::atomic_fetch_sub_explicit
-#define ATOMIC_THREAD_FENCE std::atomic_thread_fence
-
#define ATOMIC_LOAD_SEQ(_val) ATOMIC_LOAD(_val, almemory_order_seq_cst)
#define ATOMIC_STORE_SEQ(_val, _newval) ATOMIC_STORE(_val, _newval, almemory_order_seq_cst)