From f3f640b6bcf10ba463fc81cec97cfa212c520cfe Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Wed, 28 Oct 2026 17:08:17 +0100 Subject: Performance improvement, where it works: Let different udp worker threads have their own socket --- ot_udp.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ot_udp.h') diff --git a/ot_udp.h b/ot_udp.h index a8ab9fc..7d4432f 100644 --- a/ot_udp.h +++ b/ot_udp.h @@ -11,7 +11,8 @@ #include "trackerlogic.h" void udp_init(void); -void udp_workers_install(int64_t sock, unsigned int worker_count); +/* One thread reading one socket. Called once per worker. */ +void udp_worker_install(int64_t sock); int handle_udp6(int64_t serversocket, struct ot_workstruct *ws); #endif -- cgit v1.3