]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: poll: don't use the old FD state anymore
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Jan 2018 16:11:33 +0000 (17:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Jan 2018 15:03:15 +0000 (16:03 +0100)
commitfc6eea4de24fbefa24115fb0b51f629b742da1e2
treeac4084fa14c7d2869c3b74162d530266a2aca32f
parent56dd12a7f0e7ff67e9d270d5fb2afc40c81feac5
MEDIUM: poll: don't use the old FD state anymore

The polling updates are now performed exactly like the epoll/kqueue
ones : only the new polled state is considered, and the previous one
is checked using polled_mask. The only specific stuff here is that
the fd state is shared between all threads, so an FD removal has to
be done only once.
src/ev_poll.c