thank you... i knew it had to be something really obvious and i was just
missing it....
thanks,
-=- adam grossman
John Bäckstrand wrote:
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
i tried:
libevent]# export EVENT_NOEPOLL=1
libevent]# ./configure
and
libevent]# EVENT_NOEPOLL=1 ./configure
and
libevent]# ./configure EVENT_NOEPOLL=1
and when i compile my app, set EVENT_NOEPOLL=1, it is always saying
"libevent using: epoll"
am i missing something here?
thanks for all your help.
-=- adam grossman
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkey.org/mailman/listinfo/libevent-users