2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

Simplify thread spawning

The `isc_trampoline` module had a lot of machinery to support stable
thread IDs for use by hazard pointers. But the hazard pointer code
is gone, and the `isc_loop` module now has its own per-loop thread
IDs.

The trampoline machinery seems over-complicated for its remaining
tasks, so move the per-thread initialization into `isc/thread.c`,
and delete the rest.
This commit is contained in:
Tony Finch
2023-01-02 19:56:27 +00:00
parent 1736900b4e
commit 555690a3c9
8 changed files with 67 additions and 313 deletions

View File

@@ -46,7 +46,6 @@
#include "../loop_p.h"
#include "netmgr-int.h"
#include "openssl_shim.h"
#include "trampoline_p.h"
/*%
* Shortcut index arrays to get access to statistics counters.