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().
Thank you! But did you try this with epoll? I got many SIGSEGVs in the evsignal
functions. And assertion from bug 2012318 mentioned above fails on
event_reinit() too.
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users