Thanks gentleman. So I'm clear: there is no *_init() function. I just start using the library and everything just works.
On Thu, Feb 20, 2014 at 12:36 PM, Scott Dorr <[email protected]> wrote: > That same page tells you to use event_base_new() instead. > > Any calls that assume a default/current base instead of explicitly calling > out a base have been deprecated. So, instead of using ‘event_init()’ which > is non-specific, use ‘event_base_new()’ for each event base you’d like to set > up. > > - scott > > > On Feb 20, 2014, at 10:16 AM, Jeffrey Walton <[email protected]> wrote: > >> http://www.wangafu.net/~nickm/libevent-book/Ref2_eventbase.html states >> that event_init is obsolete. But it does not state what should be >> called in its place (and the source code appears to continue using >> it). >> >> I found a shutdown function in libevent_global_shutdown. But I did not >> find a libevent_global_startup to match libevent_global_shutdown. >> >> What function should be called for initialization? >> >> Thanks in advance. >> *********************************************************************** >> To unsubscribe, send an e-mail to [email protected] with >> unsubscribe libevent-users in the body. > > *********************************************************************** > To unsubscribe, send an e-mail to [email protected] with > unsubscribe libevent-users in the body. *********************************************************************** To unsubscribe, send an e-mail to [email protected] with unsubscribe libevent-users in the body.
