]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: list: add new macro MT_LIST_BEHEAD
authorWilly Tarreau <w@1wt.eu>
Fri, 4 Oct 2019 16:02:40 +0000 (18:02 +0200)
committerOlivier Houchard <cognet@ci0.org>
Fri, 11 Oct 2019 14:37:41 +0000 (16:37 +0200)
commitd7f2bbcbe3900362670b243d648cbd33b602309b
tree18786345456fad16ddde0264cd055e5025b89832
parentc32a0e522f46525410a6d735c2d070a335e564d1
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.
include/common/mini-clist.h