[lkml]   [2002]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: epoll (was Re: [PATCH] async poll for 2.5)

Whoops. I just realized a flaw in my own argument.

With read, a short count might precede EOF. Indeed, in that case,
calling epoll_getevents would cause the connection to get stuck.

Never mind my earlier message then.

-- Buck

"Charles 'Buck' Krasic" <> writes:

> In summary, a short count is every bit as reliable as EAGAIN to know
> that it is safe to wait on epoll_getevents.

> -- Buck
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:30    [W:0.078 / U:1.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site