commit | 97da942ba6392086d3165835564089cd71cb7b23 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Mar 01 11:24:29 2023 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Apr 13 16:57:51 2023 +0200 |
tree | 2d02f9a17d19998d3bb2e7fa0308dd5fad136aa3 | |
parent | 3f210970bf9450156005e28ee45f64f6d39bc936 [diff] |
MINOR: thread: keep a bitmask of enabled groups in thread_set We're only checking for 0, 1, or >1 groups enabled there, and we'll soon need to be more precise and know quickly which groups are non-empty. Let's just replace the count with a mask of enabled groups. This will allow to quickly spot the presence of any such group in a set.