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 majord...@freehaven.net with unsubscribe libevent-users in the body.