]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MAJOR: pollers: rely on fd_reregister_all() at boot time
authorWilly Tarreau <w@1wt.eu>
Sat, 9 Jul 2022 21:23:50 +0000 (23:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jul 2022 18:16:30 +0000 (20:16 +0200)
commitd95f18fa39e6ece48a3fe6dc45c5030f4e0827db
tree28ec7ebf14e860b3b90a01880030efdb46c63dca
parent9baff4ffd96824b7db779ea7ce369e7416c15cad
MAJOR: pollers: rely on fd_reregister_all() at boot time

The poller-specific thread init code now uses that new function to
safely register boot events. This ensures that we don't register an
event for another group and that we properly deal with parallel
thread startup.

It's only done for thread-aware pollers, there's no point in using
that in poll/select though that should work as well.
src/ev_epoll.c
src/ev_evports.c
src/ev_kqueue.c