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

Jamie Lokier
2002-10-29T01:59:37Z

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