From: Brian Norris Date: Wed, 1 Aug 2012 02:14:16 +0000 (-0700) Subject: action: switch from "libatomic" to C++-spec "memory_order_*" macros X-Git-Url: http://plrg.eecs.uci.edu/git/?p=c11tester.git;a=commitdiff_plain;h=e70c8f03d3eb64740df9407442180e679a31213e action: switch from "libatomic" to C++-spec "memory_order_*" macros --- diff --git a/action.h b/action.h index e43955dd..36cec25d 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. */