commit | 98d334bd945b038b7340af451ed7873143076a4b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Mon Oct 15 09:33:41 2018 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Mon Oct 15 13:25:06 2018 +0200 |
tree | ea370e557ffac518f865bb14502a7e340bf7c633 | |
parent | d944344f01d9ea914d94c45f6ac7c224c6143fc9 [diff] |
MINOR: tools: add a new function atleast2() to test masks for more than 1 bit For threads it's common to have to check if a mask contains more than one bit set. Let's have this "atleast2()" function report this.