You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Why is the wakeup flag still checked after NioEventLoop.select is executed? #9782
Why is the wakeup flag still checked after NioEventLoop.select is executed?In NioEventLoop.select function, already use hasTasks func to check if there are new tasks joined. I don't think this step is necessary.
I actually had not really dug into the NioEventLoop impl too much, prior focus was on streamlining EpollEventLoop. But from what I'd seen it was really in need of an equivalent overhaul.
The latest structure of EpollEventLoop should actually be mostly applicable to the other async transports including NIO so I took a quick stab at refactoring NioEventLoop along those lines, will open a PR.
Activity
normanmaurer commentedon Nov 22, 2019
@njhill can you have a look as you worked on this stuff ?
franz1981 commentedon Nov 22, 2019
For different reasons I've come at a similar conclusion some time ago: linking the issue here hoping will help #9112
njhill commentedon Nov 23, 2019
I actually had not really dug into the
NioEventLoopimpl too much, prior focus was on streamliningEpollEventLoop. But from what I'd seen it was really in need of an equivalent overhaul.The latest structure of
EpollEventLoopshould actually be mostly applicable to the other async transports including NIO so I took a quick stab at refactoringNioEventLoopalong those lines, will open a PR.njhill commentedon Nov 23, 2019
@normanmaurer @franz1981 @jffree PTAL #9799