lkml.org 
[lkml]   [2002]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: and nicer too - Re: [PATCH] epoll more scalable than poll
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/

\
 
 \ /
  Last update: 2005-03-22 13:30    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog