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

Davide Libenzi
2002-10-29T01:23:42Z

On Mon, 28 Oct 2002, Hanna Linder wrote:

> 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...

IMHO I find the ephttpd.c, once stripped of the tons of #ifdef to handle
the other interfaces, to be a very clear example about how to use the API
togheter with coroutines. Using it with an event driven state machine
would require a little bit more code, but nothing brutal ...
Anyway yes, the NOTES section of the man pages should be "enriched" with a
few notes and maybe code samples.

- Davide