mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-05 10:58:14 +00:00
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:
parent
ed339a375c
commit
0493149ac3
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user