]> git.ipfire.org Git - thirdparty/bind9.git/commit
Initialize the main thread trampoline for Windows Service process
authorOndřej Surý <ondrej@isc.org>
Tue, 31 Aug 2021 17:25:07 +0000 (17:25 +0000)
committerArаm Sаrgsyаn <aram@isc.org>
Tue, 31 Aug 2021 17:53:30 +0000 (17:53 +0000)
commitec64f4492bec971523658456b09fae03a2a17cbc
tree417deaea34bf53c300deb21be404c59065583c29
parent05ce4af871e4a401d28978fa50b9322b88cd1c5d
Initialize the main thread trampoline for Windows Service process

When BIND is running as a Windows Service the ISC library's
initializations initiated by the DLLMain loading procedure are
happening under the Windows Service Manager thread instead of
BIND's main thread.

This commit will make sure that BIND's main thread trampoline has
been initialized before running the main() function.
bin/named/win32/ntservice.c
lib/isc/include/isc/lib.h
lib/isc/lib.c
lib/isc/trampoline.c
lib/isc/trampoline_p.h
lib/isc/win32/libisc.def.in