]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUILD: thread: implement thread_harmless_end_sig() for threadless builds
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Mar 2023 09:26:58 +0000 (10:26 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 22 Mar 2023 09:40:06 +0000 (10:40 +0100)
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

index 6590706ee3732598a4e6a7da06365bd4d32a4368..67ceba30fa29f928126819815c1bab5b99552594 100644 (file)
@@ -125,6 +125,10 @@ static inline void thread_harmless_end()
 {
 }
 
+static inline void thread_harmless_end_sig()
+{
+}
+
 static inline void thread_isolate()
 {
 }