lkml.org 
[lkml]   [2004]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: epoll question
On Wed, 26 May 2004, Vadim Lobanov wrote:

> I have a quick question about the behavior of epoll. My usage scenario is
> as follows:
>
> I add multiple fd's to the epoll set. Some of the fd's will have a lot of
> data coming in, while others will have noticeably less.
> I start to epoll for events, only letting it return one event at a time
>
> In this case, will the lesser-active fd's be starved out by the
> constantly-active fd's, or will they still be reliably seen?

Nope, even if you extract one fd at a time (???) the itam will be removed
from head and, if LT or ET and another event will come soon after, it will
be tail queued.


- Davide

-
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 14:03    [W:0.023 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site