]> git.kaiwu.me - haproxy.git/commit
MINOR: tinfo: start to add basic thread_exec_ctx
authorWilly Tarreau <w@1wt.eu>
Tue, 3 Mar 2026 08:37:10 +0000 (09:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 12 Mar 2026 17:06:37 +0000 (18:06 +0100)
commitb7c8fab50771cc7a77b2c0ab2944eeec3d73e57d
tree69c2ac873aca92aabe2340a5e813f0617de76638
parentfb7e5e169654e2c78d85774091ab92952b33f4f8
MINOR: tinfo: start to add basic thread_exec_ctx

We have the struct made of a type and a pointer in the th_ctx and a
function to switch it for the current thread. Two macros are provided
to enclose a callee within a temporary context. For now only type OTHER
is supported (only a generic pointer).
include/haproxy/tinfo-t.h
include/haproxy/tinfo.h