]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the dns_dt API to use ISC_THREAD_LOCAL
authorOndřej Surý <ondrej@isc.org>
Mon, 2 Dec 2019 10:42:50 +0000 (11:42 +0100)
committerOndřej Surý <ondrej@sury.org>
Tue, 3 Dec 2019 15:27:30 +0000 (16:27 +0100)
commit4a3d589403dc2c8fc7dbdfe9ef6cf5ff2f2cb5b8
treee404a7ee501da07ff9dbf39db9833e9a3c7a6dde
parent1a66aabd22efc08c8d22e43377dd5d6f4f594dc7
Refactor the dns_dt API to use ISC_THREAD_LOCAL

Previously, the dns_dt API used isc_thread_key API for TLS, which is
fairly complicated and requires initialization of memory contexts, etc.
This part of code was refactored to use a ISC_THREAD_LOCAL pointer which
greatly simplifies the whole code related to storing TLS variables.
bin/named/server.c
lib/dns/dnstap.c
lib/dns/include/dns/dnstap.h
lib/dns/tests/dnstap_test.c
lib/dns/win32/libdns.def.in