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
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.
The text was updated successfully, but these errors were encountered:
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.
Netty version
4.1
Description
In
NioEventLoop.run
function:Why is the
wakeup
flag still checked afterNioEventLoop.select
is executed?InNioEventLoop.select
function, already usehasTasks
func to check if there are new tasks joined. I don't think this step is necessary.The text was updated successfully, but these errors were encountered: