]> git.kaiwu.me - haproxy.git/commit
MINOR: applet: remove the thread mask from appctx_new()
authorWilly Tarreau <w@1wt.eu>
Mon, 13 Sep 2021 08:07:38 +0000 (10:07 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 17 Sep 2021 14:08:34 +0000 (16:08 +0200)
commite61244631a76680330d37e3efa6aef7d4f9d62f9
tree87dfcb2d7bda1943b60affd778d742396eba8e5b
parent87063a7da1ead9f4ddf048c2d1924f635dce28a9
MINOR: applet: remove the thread mask from appctx_new()

appctx_new() is exclusively called with tid_bit and it only uses the
mask to pass it to the accompanying task. There is no point requiring
the caller to know about a mask there, nor is there any point in
creating an applet outside of the context of its own thread anyway.
Let's drop this and pass tid_bit to task_new() directly.
include/haproxy/applet.h
include/haproxy/stream_interface.h
src/dns.c
src/flt_spoe.c
src/hlua.c
src/http_client.c
src/peers.c
src/sink.c