On Tue, May 19, 2009 at 10:20:08PM +1000, Peter Ross wrote:
> Hi,
> 
> I've been tracking down a bug with boehm gc prematurely collecting the
> bufferevent callback arg value.  This occurs when one is the middle of
> processing another bufferevent in the read callback.
> 
> I've tried to grok the code to understand how one would get from the
> eventbase to the other bufferevent, so I can check where the boehm gc
> is losing the pointer, but having difficulty understanding the code.
> 
> Could someone explain how I get from an event base to all the
> bufferevents associated with that base?

You don't.  Only when a bufferevent is actively listening for read or
write events does it have any references from the event base.

-- 
Nick
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users

Reply via email to