]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: pollers: Add a fixup_tgid_takeover() method.
authorOlivier Houchard <ohouchard@haproxy.com>
Tue, 25 Feb 2025 17:26:49 +0000 (18:26 +0100)
committerOlivier Houchard <cognet@ci0.org>
Wed, 26 Feb 2025 12:00:18 +0000 (13:00 +0100)
commitc36aae2af10b0dbd71fcc9b37bb771525ed48330
tree09a6768479913d925211d93f716a3935883ca0e9
parent752c5cba5dc068a472bce344586e1b8c54021367
MINOR: pollers: Add a fixup_tgid_takeover() method.

Add a fixup_tgid_takeover() method to pollers for which it makes sense
(epoll, kqueue and evport). That method can be called after a takeover
of a fd from a different thread group, to make sure the poller's
internal structure reflects the new state.
include/haproxy/fd-t.h
src/ev_epoll.c
src/ev_evports.c
src/ev_kqueue.c