mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00: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:
committed by
Ondřej Surý
parent
5e1202d1c9
commit
fa68a0d869
@@ -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)
|
||||
|
Reference in New Issue
Block a user