]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: threads: add a MAX_THREADS define instead of LONGBITS
authorWilly Tarreau <w@1wt.eu>
Sat, 20 Jan 2018 17:19:22 +0000 (18:19 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 23 Jan 2018 14:28:20 +0000 (15:28 +0100)
commit421f02e738999dec9f52665023918e22580197fd
treefc395097eb53a40d7ee7892f3bf0ac4a14e5ef26
parentf4571a027f20a3866018a9a6749fd456370943e1
MINOR: threads: add a MAX_THREADS define instead of LONGBITS

This one allows not to inflate some structures when threads are
disabled. Now struct global is 1.4 kB instead of 33 kB.

Should be backported to 1.8 for ease of backporting of upcoming
patches.
include/common/hathreads.h
include/types/global.h
src/cfgparse.c
src/haproxy.c
src/listener.c