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 <unistd.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
|
||||||
|
#include <common/cfgparse.h>
|
||||||
#include <common/hathreads.h>
|
#include <common/hathreads.h>
|
||||||
#include <common/standard.h>
|
#include <common/standard.h>
|
||||||
#include <proto/fd.h>
|
#include <proto/fd.h>
|
||||||
@ -154,6 +155,7 @@ static void __hathreads_init(void)
|
|||||||
#if defined(DEBUG_THREAD) || defined(DEBUG_FULL)
|
#if defined(DEBUG_THREAD) || defined(DEBUG_FULL)
|
||||||
memset(lock_stats, 0, sizeof(lock_stats));
|
memset(lock_stats, 0, sizeof(lock_stats));
|
||||||
#endif
|
#endif
|
||||||
|
hap_register_build_opts("Built with multi-threading support.", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user