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

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Mon Oct 28 2002 - 21:05:45 EST


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/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:41 EST