mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-27 05:41:10 +01:00
MINOR: thread: remove MAX_THREADS limitation
This one is now causing difficulties during the development phase and it's going to disappear anyway, let's get rid of it.
This commit is contained in:
parent
e5715bface
commit
1b2b59bfa7
@ -995,13 +995,6 @@ static void __thread_init(void)
|
|||||||
{
|
{
|
||||||
char *ptr = NULL;
|
char *ptr = NULL;
|
||||||
|
|
||||||
if (MAX_THREADS < 1 || MAX_THREADS > LONGBITS) {
|
|
||||||
ha_alert("MAX_THREADS value must be between 1 and %d inclusive; "
|
|
||||||
"HAProxy was built with value %d, please fix it and rebuild.\n",
|
|
||||||
LONGBITS, MAX_THREADS);
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
preload_libgcc_s();
|
preload_libgcc_s();
|
||||||
|
|
||||||
thread_cpus_enabled_at_boot = thread_cpus_enabled();
|
thread_cpus_enabled_at_boot = thread_cpus_enabled();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user