netty5/transport/src
Hyangtack Lee f44f3e7926 NioEventLoop ensures that all submitted tasks are executed immediately.
Motivation:
If a task was submitted when wakenUp value was true, the task didn't get a chance to call Selector#wakeup.
So we need to check task queue again before executing select operation. If we don't, the task might be pended until select operation was timed out.
It might be pended until idle timeout if IdleStateHandler existed in pipeline.

Modifications:
Execute Selector#select in a non-blocking manner if there's a task submitted when wakenUp value was true.

Result:
Every tasks in NioEventLoop will not be pended.
2016-05-17 07:43:46 +02:00
..
main/java/io/netty NioEventLoop ensures that all submitted tasks are executed immediately. 2016-05-17 07:43:46 +02:00
test/java/io/netty Fix test-failures introduces by c1827114e9. 2016-05-14 20:38:31 +02:00