]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add and use ISC_THREAD_LOCAL macro
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:24 +0000 (16:27 +0100)
commit01731d4b1ba409ca05565b69e35c02fd65adbdd3
treea9001725506f42168f00a2aac383e8af456c521b
parent96475e7eb411db2298121d9cd560fc5b5a57a2f1
Add and use ISC_THREAD_LOCAL macro

The new ISC_THREAD_LOCAL macro unifies usage of platform dependent
Thread Local Storage definition thread_local vs __thread vs
__declspec(thread) to a single macro.

The commit also unifies the required level of support for TLS as for
some parts of the code it was mandatory and for some parts of the code
it wasn't.
configure
configure.ac
lib/isc/hp.c
lib/isc/include/isc/platform.h.in
lib/isc/netmgr/netmgr-int.h
lib/isc/netmgr/netmgr.c
lib/isc/pthreads/include/isc/thread.h
lib/isc/random.c
lib/isc/win32/include/isc/thread.h
lib/isc/xoshiro128starstar.c