Adam Grossman wrote:
hello.

i am getting really frustrated, and i am sure i am missing the obvious, but is there a way to compile libevent on a 2.6 kernel so it uses poll instead of epoll?

The manpage documents one method to disable specific methods such epoll and kqueue.

"It is possible to disable support for epoll, kqueue, devpoll, poll or select by setting the environment variable EVENT_NOEPOLL, EVENT_NOKQUEUE, EVENT_NODEVPOLL, EVENT_NOPOLL or EVENT_NOSELECT. By setting the environment variable EVENT_SHOW_METHOD, libevent displays the kernel notification method that it uses."

---
John Bäckstrand
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users

Reply via email to