]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: select: don't use the old FD state anymore
authorWilly Tarreau <w@1wt.eu>
Thu, 25 Jan 2018 16:09:33 +0000 (17:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 29 Jan 2018 15:03:15 +0000 (16:03 +0100)
commit56dd12a7f0e7ff67e9d270d5fb2afc40c81feac5
tree24404fa009482cae3d0b0395eb12b0c13915698c
parent82b37d74d2e29798633ac0896735a3fa2ae5df1c
MEDIUM: select: 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_select.c