mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-22 01:10:38 -05: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
1 changed files with 2 additions and 0 deletions
|
|
@ -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 a new issue