Re: [Libevent-users] about exit when using flag EVLOOP_NO_EXIT_ON_EMPTY

2012-07-08 Thread debuguo
" enable threading before creating your event base " could you explain more about it? 2012/7/8 Nick Mathewson > On Sat, Jul 7, 2012 at 6:50 AM, debuguo wrote: > > Hello, everyone. > > I noticed one new feature added in libevent 2.1, which was the f

[Libevent-users] about exit when using flag EVLOOP_NO_EXIT_ON_EMPTY

2012-07-07 Thread debuguo
Hello, everyone. I noticed one new feature added in libevent 2.1, which was the flag of event_base_new, EVLOOP_NO_EXIT_ON_EMPTY. BUT I don't know how to exit that event_base loop. even the event_base_loopexit or event_base_loopbreak seem not work. Please tell me if you know the answer. Thank you.