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

Davide Libenzi
2002-10-30T02:08:35Z

On Tue, 29 Oct 2002, Martin Waitz wrote:

> hi :)
>
> On Tue, Oct 29, 2002 at 04:19:23PM +0100, bert hubert wrote:
> > It is edge based instead of level based -
> seems i have to look closer at your papers/code
>
> what is the motivation to make it edge based?

You have two ways to know if "something" changed. You call everyone each
time and you ask him if his changed, or you call everyone one time by
saying "call me when you're changed". It's behind the "call me when you're
changed" phrase that lays the concept of edge triggered APIs. So, pretty
evidently, the answer to your question is : efficency.

- Davide