Matt,

What configures libevent to use one event mechanism from other? e.g.
epoll vs poll vs kqueue
How is this(event mechanism to be used) configured in libevent and when
(build time or run time)?

Any relavant docs about this will be helpful.

Thanks



On Sep 18, 1:44 am, Matt Ingenthron <ingen...@cep.net> wrote:
> jim wrote:
> > I want to compile memcache on linux kernel 2.6.30 with epoll.
>
> > Is it already included in kernel? How do i check it?
> > If not then, What do I need for epoll?
>
> I believe it is and has been standard for some time.  Well, "man epoll"
> will probably give you an idea.  It's probably in a header somewhere as
> well.
>
> > Which is better - epoll or libevent?
>
> libevent uses epoll on Linux.  In any event (pardon the pun), libevent
> is a requirement.
>
> > Is there compiled version available for linux?
>
> You'd have to be more specific on both what it is you're looking for and
> what you mean by "linux".  Libevent is on most Linux distros.  It may
> come under the name "libevent1" mapping to 1.x.   I'd recommend using
> whatever tools come with your distro to search.
>
> Good luck,
>
> - Matt

Reply via email to