From e70c8f03d3eb64740df9407442180e679a31213e Mon Sep 17 00:00:00 2001 From: Brian Norris Date: Tue, 31 Jul 2012 19:14:16 -0700 Subject: [PATCH 1/1] action: switch from "libatomic" to C++-spec "memory_order_*" macros --- action.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/action.h b/action.h index e43955d..36cec25 100644 --- a/action.h +++ b/action.h @@ -11,7 +11,14 @@ #include "threads.h" #include "mymemory.h" #include "clockvector.h" -#include "libatomic.h" +#include "memoryorder.h" + +using std::memory_order; +using std::memory_order_relaxed; +using std::memory_order_acquire; +using std::memory_order_release; +using std::memory_order_acq_rel; +using std::memory_order_seq_cst; /** Note that this value can be legitimately used by a program, and hence by iteself does not indicate no value. */ -- 2.34.1