Re: Synchronous signal delivery..

Davide Libenzi
2003-02-14T23:50:16Z

On Fri, 14 Feb 2003, Jamie Lokier wrote:

> And when that's done you have some nice bonuses:
>
> - All event types are reported equally fast, and in a single
> system call (read()).
>
> - The order in which events occurred is preserved.
> (This is lost when you have to scan multiple queues).
>
> - Hierarchies of event sets of any kind are possible.
> (epoll has solved the logical problems of this already).
>
> - Less code duplicated.
>
> - Adding new kinds of kernel events becomes _very_ simple.

Hmm ... using read() you'll lose the timeout capability, that IMHO is
pretty nice.

- Davide