]> git.ipfire.org Git - thirdparty/bind9.git/commit
Refactor the irs_context 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@isc.org>
Wed, 4 Dec 2019 13:17:19 +0000 (14:17 +0100)
commit5d43b7126cea37d9109040dd3363ca42896b4ae3
tree0639e73d3e8f57b993f8ea5afdc1e585fe72b371
parenta4ffb6407331cbee1b61434c6f3e9c6ef106b30a
Refactor the irs_context API to use ISC_THREAD_LOCAL

Previously, the irs_context 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.
lib/irs/context.c