[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [Libevent-users] ANN: Libevent 2.0.9-rc is released



Thanks a lot

On Tue, Nov 30, 2010 at 5:31 PM, Frank Denis <libevent@xxxxxxxxxxxx> wrote:
Le Tue, Nov 30, 2010 at 05:02:22PM +0200, Sherif Fanous ecrivait :
> The Changelog states the following
>
> Disable changelist for epoll by default because of Linux dup() bug; add an
> option and/or an envvar to reenable it for speed.
>
> Can an example be provided on how to enable it please

 Hi Sherif,

 Here's how to enable it:

struct event_config *ev_config;
ev_config = event_config_new();
event_config_set_flag(ev_config, EVENT_BASE_FLAG_EPOLL_USE_CHANGELIST);
ev_base = event_base_new_with_config(ev_config);

 Best regards,

--
Frank Denis - j [at] pureftpd.org - http://00f.net
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.