]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: thread: add a simple thread_set API
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Jan 2023 18:27:48 +0000 (19:27 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 3 Feb 2023 17:00:21 +0000 (18:00 +0100)
commitbef43dfa604c9580230fd3b72f8f719d7a8eba8d
treec00abdb448079684b37fac49e9faa52cb4706a7c
parent53c6c673ac262448ae9a33d5d137f445fa7311ea
MINOR: thread: add a simple thread_set API

The purpose is to be able to store large thread sets, defined by ranges
that may cross group boundaries, as well as define lists of groups and
masks. The thread_set struct implements the storage, and the parser is
in parse_thread_set(), with a focus on "bind" lines, but not only.
include/haproxy/thread.h
include/haproxy/tinfo-t.h
include/haproxy/tinfo.h
src/thread.c