mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 19:41:04 -05:00
Added atomic_compare_exchange_strong_acq_rel macro
It is much better to read than: atomic_compare_exchange_strong_explicit() with 5 arguments.
This commit is contained in:
parent
5e1202d1c9
commit
fa68a0d869
1 changed files with 3 additions and 0 deletions
|
|
@ -68,3 +68,6 @@
|
|||
#define atomic_compare_exchange_weak_acq_rel(o, e, d) \
|
||||
atomic_compare_exchange_weak_explicit( \
|
||||
(o), (e), (d), memory_order_acq_rel, memory_order_acquire)
|
||||
#define atomic_compare_exchange_strong_acq_rel(o, e, d) \
|
||||
atomic_compare_exchange_strong_explicit( \
|
||||
(o), (e), (d), memory_order_acq_rel, memory_order_acquire)
|
||||
|
|
|
|||
Loading…
Reference in a new issue