commit | fc6eea4de24fbefa24115fb0b51f629b742da1e2 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jan 25 17:11:33 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Jan 29 16:03:15 2018 +0100 |
tree | ac4084fa14c7d2869c3b74162d530266a2aca32f | |
parent | 56dd12a7f0e7ff67e9d270d5fb2afc40c81feac5 [diff] |
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.