]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: mt_list: Implement MT_LIST_POP_LOCKED()
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 30 Sep 2025 12:39:01 +0000 (14:39 +0200)
committerOlivier Houchard <cognet@ci0.org>
Tue, 30 Sep 2025 14:25:07 +0000 (16:25 +0200)
commitcf26745857d1c4bbaf6404f57c47bb7c114c6905
tree759f4da4366f5aba6508f701b12363e7d4cb7d2b
parent6316f958e3952d0791ea370954f824085eb297f0
MINOR: mt_list: Implement MT_LIST_POP_LOCKED()

Implement MT_LIST_POP_LOCKED(), that behaves as MT_LIST_POP() and
removes the first element from the list, if any, but keeps it locked.

This should be backported to 3.2, as it will be use in a bug fix in the
stick tables that affects 3.2 too.
doc/internals/api/mt_list.txt
include/import/mt_list.h