Re: epoll (was Re: [PATCH] async poll for 2.5)

From: Dan Kegel (
Date: Sat Oct 19 2002 - 16:08:02 EST

Charles 'Buck' Krasic wrote:
>>In summary, a short count is every bit as reliable as EAGAIN to know
>>that it is safe to wait on epoll_getevents.
> 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.

Maybe epoll should be extended with a specific EOF event.
Then short reads would be fine.
- Dan

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

This archive was generated by hypermail 2b29 : Wed Oct 23 2002 - 22:00:48 EST