Re: [Lse-tech] Re: and nicer too - Re: [PATCH] epoll more scalable than poll

Hanna Linder
2002-10-29T01:08:20Z

--On Monday, October 28, 2002 17:13:53 -0800 Davide Libenzi <davidel@xmailserver.org> wrote:

> On Tue, 29 Oct 2002, bert hubert wrote:
>
>> Ok, so that is two things that need to be in the manpage and probably in
>> bold:
>>
>> 1) epoll only works on pipes and sockets
>> (not on tty, not on files)
>>
>> 2) epoll must be used on non-blocking sockets only
>> (and describe the race that happens otherwise)
>>
>> If you send me the source of your manpages I'll work it in if you want.
>
> No problem ...
>

If you need any help with the Man pages I will be glad to
help too. It looks like providing examples of how to use it would be
very useful since this is something application writers are supposed
to use...

> events after you received EAGAIN or after accept/connect". And the fact on
> using the fd immediately after an accept/connect is enforced by two very
> likely facts :
>
> 1) on accept() it's very likely that the first packet brough you something
> more than SYN
>
> 2) on connect() you have the full I/O write space available

Do you think these should be mentioned explicitly?

Thanks a lot.

Hanna