projects
/
haproxy-3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8afe4b8
)
BUILD: thread: implement thread_harmless_end_sig() for threadless builds
author
Willy Tarreau
<w@1wt.eu>
Wed, 22 Mar 2023 09:26:58 +0000
(10:26 +0100)
committer
Willy 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
patch
|
blob
|
history
diff --git
a/include/haproxy/thread.h
b/include/haproxy/thread.h
index
6590706
..
67ceba3
100644
(file)
--- 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()
{
}