On Wed, Jul 9, 2008 at 5:59 AM, Alexander Drozdov <[EMAIL PROTECTED]> wrote: > I want to call event_base_free() in the child process to free parent's > event_base before > the next event_init() call. But this doesn't work correctly when using epoll > because listening > events of epolling descriptors are shared.
Once you fork, the first libevent call you need to make it is event_reinit(). Afterwards, it's save to call event_base_free(). Niels. _______________________________________________ Libevent-users mailing list Libevent-users@monkey.org http://monkeymail.org/mailman/listinfo/libevent-users