Re: [reSIProcate] epoll prototype patch
On 2010/11/16, at 17:50, Kennard White wrote:
> I would appreciate thoughts on the best way to determine if a given platform
> supports epoll(). Should I add this as an option to the configure script? Is
> there any more automatic approach?
I'm not sure off-hand, but I'd look to other projects that make use of
OS-offered event functions like libevent.
Since I do not know if you can use libevent
(<http://monkey.org/~provos/libevent/>) directly, perhaps you can at least see
how that project does it and use similar mechanisms.
If you could use libevent (or its mechanisms), you might even get support for
kevents and other more efficient implementations along with it.
-p