]> git.ipfire.org Git - thirdparty/bind9.git/commit
Replace non-loop usage of atomic_compare_exchange_weak with strong variant
authorOndřej Surý <ondrej@isc.org>
Wed, 12 Feb 2020 08:17:55 +0000 (09:17 +0100)
committerOndřej Surý <ondrej@isc.org>
Sun, 16 Feb 2020 17:09:19 +0000 (18:09 +0100)
commit4cf275ba8aa1caf47ed763b51c37fa561005cb8d
treec313d1d47986799ed96fc348b13f0e3f3a2b4e96
parentfa68a0d869aa480c0e48369a9d79ef320ba72fcc
Replace non-loop usage of atomic_compare_exchange_weak with strong variant

While testing BIND 9 on arm64 8+ core machine, it was discovered that
the weak variants in fact does spuriously fail, we haven't observed that
on other architectures.

This commit replaces all non-loop usage of atomic_compare_exchange_weak
with atomic_compare_exchange_strong.
lib/isc/app.c
lib/isc/rwlock.c