commit | d7f2bbcbe3900362670b243d648cbd33b602309b | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri Oct 04 18:02:40 2019 +0200 |
committer | Olivier Houchard <cognet@ci0.org> | Fri Oct 11 16:37:41 2019 +0200 |
tree | 18786345456fad16ddde0264cd055e5025b89832 | |
parent | c32a0e522f46525410a6d735c2d070a335e564d1 [diff] |
MINOR: list: add new macro MT_LIST_BEHEAD This macro atomically cuts the head of a list and returns the list of elements as a detached list, meaning that they're all linked together without any head. If the list was empty, NULL is returned.