2003-08-03 07:53:01

by Florian Weimer

[permalink] [raw]
Subject: Polling large file descriptor sets

It seems that /dev/epoll support will be included in 2.6. Is this the
official way to solve the problem, or is there another, preferred
interface I have missed? Is the current /dev/epoll edge-triggered or
level-triggered?

Is the patch for 2.4.21 in sync with 2.6, API-wise? Can I run
libevent with both kernels?


2003-08-06 14:40:45

by Jamie Lokier

[permalink] [raw]
Subject: Re: Polling large file descriptor sets

Florian Weimer wrote:
> It seems that /dev/epoll support will be included in 2.6. Is this the
> official way to solve the problem, or is there another, preferred
> interface I have missed? Is the current /dev/epoll edge-triggered or
> level-triggered?

/dev/epoll is not included, but a similar interface using system
calls, also called epoll, is provided. The new interface does both
edge-triggering and level-triggering, as requested.

-- Jamie