summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2013-06-30 08:54:41 +0000
committered <ed@FreeBSD.org>2013-06-30 08:54:41 +0000
commit69fe417f6ed3f57da1fc0b75d1686f048fd4da8b (patch)
tree2dcf809506446c24d6ae3d6124407d961f74812a /lib
parentc3008dddb18ab0a1f34c449782a98cec691a478a (diff)
downloadFreeBSD-src-69fe417f6ed3f57da1fc0b75d1686f048fd4da8b.zip
FreeBSD-src-69fe417f6ed3f57da1fc0b75d1686f048fd4da8b.tar.gz
Make various fixes to <stdatomic.h>.
- According to the standard, memory_order is a type. Use a typedef. - atomic_*_fence() and atomic_flag_*() are described by the standard as functions. Use inline functions to implement them. - Only expose the atomic_*_explicit() functions in kernel space. We should not use the short-hand functions, as they will always use memory_order_seq_cst.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud