On Fri, Jul 14, 2006 at 03:39:41PM -0400, Adam Grossman wrote:
> 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?
>
This is a runtime option, not a compile option. You need to set it before
you start your program:
EVENT_NOEPOLL=1 /path/to/app
Or set it before you call event_init():
#include <stdlib.h>
...
setenv("EVENT_NOEPOLL", "1", 0); /* Value doesn't matter. */
...
event_init();
_______________________________________________
Libevent-users mailing list
[email protected]
http://monkey.org/mailman/listinfo/libevent-users