MEDIUM: threads: automatically assign threads to groups
authorWilly Tarreau <w@1wt.eu>
Mon, 27 Sep 2021 08:10:26 +0000 (10:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Oct 2021 15:22:26 +0000 (17:22 +0200)
commite6806ebeccc4844dcc95cbc04f40bc78f7b4c264
treee7c8f6ec9f3f2b93639e0852e7fc67e34bba7958
parentfc69e410e605677be567ee43464424ad9336840f
MEDIUM: threads: automatically assign threads to groups

This takes care of unassigned threads groups and places unassigned
threads there, in a more or less balanced way. Too sparse allocations
may still fail though. For now with a maximum group number fixed to 1
nothing can really fail.
include/haproxy/thread.h
src/cfgparse.c
src/thread.c