commit | 53055055c517d018a36677cbae0a0ad464700fd4 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <ohouchard@haproxy.com> | Thu Jul 25 14:00:18 2019 +0000 |
committer | Olivier Houchard <cognet@ci0.org> | Wed Jul 31 14:54:41 2019 +0200 |
tree | ae58b0e1a35908f930ae6cd1f290f7923ab732f4 | |
parent | 305d5ab469c396b8d2d4b6e742de3ee8da7a9ed5 [diff] |
MEDIUM: pollers: Remember the state for read and write for each threads. In the poller code, instead of just remembering if we're currently polling a fd or not, remember if we're polling it for writing and/or for reading, that way, we can avoid to modify the polling if it's already polled as needed.