commit | c79f01497208e3cea20d4d563dee158e0e6f4674 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Oct 21 14:06:01 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Oct 21 15:28:24 2021 +0200 |
tree | af78e0753cb8109b35c2c1e0ae246fc6c7e5f7a8 | |
parent | 9628c422846c29d1ec479d326adf937c5dab63cc [diff] |
MINOR: list: add new macro LIST_INLIST_ATOMIC() This macro is similar to LIST_INLIST() except that it is guaranteed to perform the test atomically, so that even if LIST_INLIST() is intrumented with debugging code to perform extra consistency checks, it will not fail when used in the context of barriers and atomic ops.