On Sun, Jul 8, 2012 at 8:07 AM, debuguo wrote:
> " enable threading before creating your event base "
> could you explain more about it?
Have a look at the "Locks and threading" section of
http://www.wangafu.net/~nickm/libevent-book/Ref1_libsetup.html
Excerpt:
=
To get locking in Libeven
" 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 flag of
> > event_base_new, EVLOOP_NO_EXIT_ON_EM
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 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
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.