Re: [Libevent-users] event memory free question

2005-12-30 Thread Richard Nyberg
At Fri, 30 Dec 2005 05:48:40 -0800 (PST), Morgan Jones wrote: > > When I allocate memory for a evtimer_set event... that doesn't have > EV_PERSIST set... who frees that memory? I've been trying to, but > now that I look at the event.c code I'm confused as to whether the > event_once_cb is freein

Re: [Libevent-users] howto gracefully exit event_dispatch()

2005-12-30 Thread Richard Nyberg
At Fri, 30 Dec 2005 05:43:02 -0800 (PST), Morgan Jones wrote: > I'd like my application to exit gracefully, so purify could > completely check my memory utilitization... but I'm not certain > how to shutdown the event loop. > > Any suggestions? MDJ You can use the event_loopexit function.

[Libevent-users] event memory free question

2005-12-30 Thread Morgan Jones
When I allocate memory for a evtimer_set event... that doesn't have EV_PERSIST set...  who frees that memory?  I've been trying to, but now that I look at the event.c code I'm confused as to whether the event_once_cb is freeing the memory I allocated?Any guidance with this?Morgan Yahoo! Photos R

[Libevent-users] howto gracefully exit event_dispatch()

2005-12-30 Thread Morgan Jones
 I'd like my application to exit gracefully, so purify could completely check my memory utilitization...  but I'm not certain how to shutdown the event loop. Any suggestions?MDJ Yahoo! Shopping Find Great Deals on Holiday Gifts at Yahoo! Shopping ___ L