]> git.kaiwu.me - haproxy.git/commit
MINOR: thread: add EXTRAS_LOCK so addons can name their locks
authorWilliam Lallemand <wlallemand@haproxy.com>
Fri, 30 Oct 2026 10:54:43 +0000 (11:54 +0100)
committerWilliam Lallemand <wlallemand@haproxy.com>
Fri, 30 Oct 2026 11:02:13 +0000 (12:02 +0100)
commita9e333140c7bc2f9b73924a7c28d16513921bbcd
treec6962a78a8e015731fd3a741378744910b8f2d32
parent995295edc9d6c2a9bbf39616631b00e9e0b81c3e
MINOR: thread: add EXTRAS_LOCK so addons can name their locks

Provide an unconditional EXTRAS_LOCK label so addons can name their
locks using the existing lock debugging and statistics infrastructure.
This avoids adding addon-specific lock labels or build-option guards to
the core enum. Report the label as EXTRAS in lock statistics.
include/haproxy/thread-t.h
src/thread.c