netty5/transport/src
Norman Maurer 26088b778f [#4449] Remove registered events from eventloop before close
Motivation:

We need to remove all registered events for a Channel from the EventLoop before doing the actual close to ensure we not produce a cpu spin when the actual close operation is delayed or executed outside of the EventLoop.

Modifications:

Deregister for events for NIO and EPOLL socket implementations when SO_LINGER is used.

Result:

No more cpu spin.
2015-12-13 09:55:34 +01:00
..
main/java/io/netty [#4449] Remove registered events from eventloop before close 2015-12-13 09:55:34 +01:00
test/java/io/netty Improved DefaultChannelPipeline#destroy() to avoid spinning continuously in case of custom executors. 2015-11-06 19:37:41 +01:00