On Mit 12.07.2006 09:52, Anthony Johnston wrote:
I am trying to get fragroute working on FreeBSD 6, and have noticed that, while it seems to run fine on Linux (in this case on RHEL 3 WS), on FreeBSD, event_dispatch() goes into kqueue land thereby causing fragroute to not function. I read everything I could on this last night, and am going to continue on today, but I thought I would ask for pointers on how I might be able to specify on FreeBSD that fragroute use poll() instead of kevent(). Hope that makes sense...
Sorry I'am not the kqueue()/libevent guru, but try this for sh-based shells: EVENT_NOKQUEUE=1 export EVENT_NOKQUEUE extrated from man event: --- . . 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. . . --- Hth && regards Alex _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkey.org/mailman/listinfo/libevent-users