From: Willy Tarreau Date: Wed, 22 Mar 2023 09:26:58 +0000 (+0100) Subject: BUILD: thread: implement thread_harmless_end_sig() for threadless builds X-Git-Tag: v2.8-dev6~32 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0de1e6180a18543ab6913b66f4990b614125bf6a;p=thirdparty%2Fhaproxy.git 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. --- 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() { }