bind9/lib
Mark Andrews 6278899a38 Use memory_order_acq_rel in isc_refcount_decrement.
While

if (isc_refcount_decrement() == 1) {	// memory_order_release
	isc_refcount_destroy();		// memory_order_acquire
	...
}

is theoretically the most efficent in practice, using
memory_order_acq_rel produces the same code on x86_64 and doesn't
trigger tsan data races (which use a idealistic model) if
isc_refcount_destroy() is not called immediately.  In fact
isc_refcount_destroy() could be removed if we didn't want
to check for the count being 0 when isc_refcount_destroy() is
called.

https://stackoverflow.com/questions/49112732/memory-order-in-shared-pointer-destructor
2020-09-01 12:05:18 +00:00
..
bind9 Update library API versions 2020-08-06 09:10:06 +02:00
dns Fix off-by-one error when calculating new hashtable size 2020-08-28 16:21:21 +02:00
irs Update library API versions 2020-06-18 10:03:05 +02:00
isc Use memory_order_acq_rel in isc_refcount_decrement. 2020-09-01 12:05:18 +00:00
isccc Update library API versions 2020-08-06 09:10:06 +02:00
isccfg BIND 9.17.4 2020-08-20 12:05:01 -07:00
ns Update library API versions 2020-08-06 09:10:06 +02:00
samples Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
win32/bindevt Move the dependencies from sln to vcxproj files 2020-05-28 08:08:30 +02:00
.gitignore Provide unit test driver 2020-05-21 12:13:01 +02:00
Makefile.am Complete rewrite the BIND 9 build system 2020-04-21 14:19:48 +02:00
unit-test-driver.sh.in Provide unit test driver 2020-05-21 12:13:01 +02:00