MINOR: threads: report the number of thread groups in build options
haproxy -vv shows the number of threads but didn't report the number of groups, let's add it.
This commit is contained in:
parent
f9d4a7dad3
commit
c80bdb2da6
@ -1066,8 +1066,8 @@ static void __thread_init(void)
|
|||||||
|
|
||||||
thread_cpus_enabled_at_boot = thread_cpus_enabled();
|
thread_cpus_enabled_at_boot = thread_cpus_enabled();
|
||||||
|
|
||||||
memprintf(&ptr, "Built with multi-threading support (MAX_THREADS=%d, default=%d).",
|
memprintf(&ptr, "Built with multi-threading support (MAX_TGROUPS=%d, MAX_THREADS=%d, default=%d).",
|
||||||
MAX_THREADS, thread_cpus_enabled_at_boot);
|
MAX_TGROUPS, MAX_THREADS, thread_cpus_enabled_at_boot);
|
||||||
hap_register_build_opts(ptr, 1);
|
hap_register_build_opts(ptr, 1);
|
||||||
|
|
||||||
#if defined(DEBUG_THREAD) || defined(DEBUG_FULL)
|
#if defined(DEBUG_THREAD) || defined(DEBUG_FULL)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user