From 0493149ac31d39f91a95d0e3516531d095948372 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Fri, 3 Nov 2017 23:39:25 +0100 Subject: [PATCH] MINOR: thread: report multi-thread support in haproxy -vv Otherwise it's hard to know if it was enabled or not. --- src/hathreads.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hathreads.c b/src/hathreads.c index 26a6493099..0db48c9a36 100644 --- a/src/hathreads.c +++ b/src/hathreads.c @@ -13,6 +13,7 @@ #include #include +#include #include #include #include @@ -154,6 +155,7 @@ static void __hathreads_init(void) #if defined(DEBUG_THREAD) || defined(DEBUG_FULL) memset(lock_stats, 0, sizeof(lock_stats)); #endif + hap_register_build_opts("Built with multi-threading support.", 1); } #endif -- 2.39.5