From: Willy Tarreau Date: Fri, 3 Nov 2017 22:39:25 +0000 (+0100) Subject: MINOR: thread: report multi-thread support in haproxy -vv X-Git-Tag: v1.8-rc2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0493149;p=thirdparty%2Fhaproxy.git MINOR: thread: report multi-thread support in haproxy -vv Otherwise it's hard to know if it was enabled or not. --- 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