]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: include: move MAX_THREADS to defaults.h
authorWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 06:14:01 +0000 (08:14 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 11 Jun 2020 08:18:59 +0000 (10:18 +0200)
commitca8b069aa7a015c59b6d6c48180e51b5893f778b
treec46de504014820ea253c7c9c2766c5220b7ef0b0
parent6784c9946341d7ace194dd78f0e0ae980ac0ffb3
REORG: include: move MAX_THREADS to defaults.h

That's already where MAX_PROCS is set, and we already handle the case of
the default value so there is no reason for placing it in thread.h given
that most call places don't need the rest of the threads definitions. The
include was removed from global-t.h and activity.c.
include/haproxy/defaults.h
include/haproxy/global-t.h
include/haproxy/thread-t.h
src/activity.c