MINOR: thread: report multi-thread support in haproxy -vv

Otherwise it's hard to know if it was enabled or not.
This commit is contained in:
Willy Tarreau 2017-11-03 23:39:25 +01:00
parent ed339a375c
commit 0493149ac3

View File

@ -13,6 +13,7 @@
#include <unistd.h>
#include <fcntl.h>
#include <common/cfgparse.h>
#include <common/hathreads.h>
#include <common/standard.h>
#include <proto/fd.h>
@ -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