From 0de1e6180a18543ab6913b66f4990b614125bf6a Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Wed, 22 Mar 2023 10:26:58 +0100 Subject: [PATCH] BUILD: thread: implement thread_harmless_end_sig() for threadless builds Building without thread support was broken in 2.8-dev2 with commit 7e70bfc8c ("MINOR: threads: add a thread_harmless_end() version that doesn't wait") that forgot to define the function for the threadless cases. No backport is needed. --- include/haproxy/thread.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/haproxy/thread.h b/include/haproxy/thread.h index 6590706ee3..67ceba30fa 100644 --- a/include/haproxy/thread.h +++ b/include/haproxy/thread.h @@ -125,6 +125,10 @@ static inline void thread_harmless_end() { } +static inline void thread_harmless_end_sig() +{ +} + static inline void thread_isolate() { } -- 2.47.3