lib: use stdatomic.h for memory barriers

C11 gives us APIs for fencing logic.  Use that instead of a
a long, per-architecture, hand curated list of definitions.
This commit is contained in:
Ray Strode
2016-08-23 16:52:29 -04:00
parent 1c1ef02b3d
commit 1b89cc58cf
5 changed files with 2 additions and 51 deletions

View File

@ -20,7 +20,6 @@ libutil_la_SOURCES = \
util/elfparser.h \
util/stackstash.c \
util/stackstash.h \
util/util.h \
$(NULL)
libutil_la_CFLAGS = \
-I$(srcdir)/util \