]> git.ipfire.org Git - thirdparty/pdns.git/commit
Directly switch between read/write epoll states
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 15 Sep 2020 13:36:55 +0000 (15:36 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 10 Nov 2020 08:52:23 +0000 (09:52 +0100)
commit9232952699b2b8d650803b478cd2260af1c5a575
treeb7a27ef870aa9d5fb5557e10f02d27adeb7ff390
parent597e6d0e5d8823fd9f9cd9702c2c9e94e95237ff
Directly switch between read/write epoll states

Altering an existing state instead of removing then adding it back
saves a call to `epoll_ctl()`.
pdns/epollmplexer.cc
pdns/mplexer.hh
pdns/pollmplexer.cc