Am 16.03.2016 um 06:51 schrieb denizzzka:

On Thu, 06 Feb 2014 14:04:37 +0100, Sönke Ludwig wrote:

You need to have an existing FD (a socket of some kind) that is set to
non-blocking mode.

Why it is important to have non-blocking socket in this case? I accidentally tried to use blocking socket and didn't seen difference.

It depends on the exact way the read/write loop is structured. But you
always have the risk of blocking the event loop if it isn't. However,
the event notification mechanism admittedly should usually work for
blocking FDs, too.