Re: and nicer too - Re: [PATCH] epoll more scalable than poll

Jamie Lokier (lk@tantalophile.demon.co.uk)
Tue, 29 Oct 2002 02:05:45 +0000


bert hubert wrote:
> 1) epoll only works on pipes and sockets
> (not on tty, not on files)

fifos come to mind as the other things which are a bit like pipes/sockets.

>
> 2) epoll must be used on non-blocking sockets only
> (and describe the race that happens otherwise)

That much is implied simply by epoll being a queue of not_ready->ready
edge transitions. It would be good for the manual to explain this,
but it is clearly implied by the API if you think about it.

-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/