[Libevent-users] garbage collection in libevent
Niels Provos
provos at citi.umich.edu
Sun Apr 27 16:34:12 EDT 2008
On Sun, Apr 27, 2008 at 1:12 PM, Bob Maccione <Bob.Maccione at hilton.com> wrote:
> Hi all, I'm looking to try to use the C based garbage collection package at
> http://www.hpl.hp.com/personal/Hans_Boehm/gc/, integrating into my code is
> prety easy but I'm not sure what's needed to change libevent to also use the
> same package (since I'm getting errors when I change my mallocs to
> GC_MALLOC, in a weird place -- >[err] event_queue_remove: 12ff8c(fd 0) not
> on queue 1.
You could try to use event_set_mem_functions() to change the functions
that libevent uses for memory allocation internally.
Niels.
More information about the Libevent-users
mailing list