netty5/transport-native-epoll/src
Norman Maurer 89ff831a67 [#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:50 +01:00
..
main [#4449] Remove registered events from eventloop before close 2015-12-13 09:55:50 +01:00
test/java/io/netty/channel/epoll Decouple Unix from Linux in Native Transport 2015-11-02 12:29:44 -08:00