Messages in this thread | | | Subject | Re: epoll (was Re: [PATCH] async poll for 2.5) | From | "Charles 'Buck' Krasic" <> | Date | 19 Oct 2002 13:18:54 -0700 |
| |
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" <krasic@acm.org> 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 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/
| |