]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add most useful relaxed and acquire-relase stdatomic convenience macros
authorOndřej Surý <ondrej@sury.org>
Mon, 13 May 2019 05:17:21 +0000 (12:17 +0700)
committerOndřej Surý <ondrej@sury.org>
Mon, 13 May 2019 05:17:21 +0000 (12:17 +0700)
commitab389695b09d025c19fd92703f50de156fa0f53d
tree0bf9eab16a0abb631fa5f36d9841f0e0aa29142b
parent976d62aa23a6505b1801d4cddaa0e0280d3f3fdf
Add most useful relaxed and acquire-relase stdatomic convenience macros

The header file <isc/atomic.h> now contains convenience macros for
most useful explicit memory ordering for C11 stdatomics, only relaxed
and acquire-release semantics is being used.  These macros SHOULD be
used instead of atomic_<func>_explicit functions.
lib/isc/include/isc/atomic.h