Is anything planned for libevent to allow custom allocators?
Niels posted this back in April, but it didn't make much sense since
the function isn't mentioned anywhere else:
You could try to use event_set_mem_functions() to change the functions
that libevent uses for memory allocation internally.
http://monkeymail.org/archives/libevent-users/2008-April/001220.html
I may have to use __malloc_hook on Linux, but that's obviously not
ideal as it is going to hook all allocations and it's not portable
solution.
Scott.
--
Scott Kevill
GameRanger Technologies
http://www.GameRanger.com
multiplayer online gaming services
_______________________________________________
Libevent-users mailing list
Libevent-users@monkey.org
http://monkeymail.org/mailman/listinfo/libevent-users