bind9/lib
Ondřej Surý 0279cc76a7 Update STALE and ANCIENT header attributes atomically
The ThreadSanitizer found a data race when updating the stale header.
Instead of trying to acquire the write lock and failing occasionally
which would skew the statistics, the dns_rdatasetheader_t.attributes
field has been promoted to use stdatomics.  Updating the attributes in
the mark_header_ancient() and mark_header_stale() now uses the cmpxchg
to update the attributes forfeiting the need to hold the write lock on
the tree.  Please note that mark_header_ancient() still needs to hold
the lock because .dirty is being updated in the same go.

(cherry picked from commit 81d4230e60)
2020-07-08 12:01:46 +10:00
..
bind9 "check-names primary" and "check-names secondary" were ignored 2020-06-22 14:30:14 +02:00
dns Update STALE and ANCIENT header attributes atomically 2020-07-08 12:01:46 +10:00
irs Adjust library API versions 2020-05-19 13:57:37 +02:00
isc Make the stdatomic shim and mutexatomic type complete 2020-07-08 10:29:59 +10:00
isccc prep 9.16.3 2020-05-19 13:57:36 +02:00
isccfg prep 9.16.4 2020-06-18 10:25:50 +02:00
ns restore "blackhole" functionality 2020-06-30 21:10:31 -07:00
samples add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
win32/bindevt Disable MSB8028 warning 2020-04-16 07:56:38 +02:00
.gitignore added gitignore, removed cvsignore 2012-03-03 23:10:05 -08:00
Kyuafile link in lib/isccc/tests/Kyuafile 2018-11-13 07:23:36 +11:00
Makefile.in remove lib/tests as nothing uses it anymore 2018-03-09 14:12:50 -08:00