curl-library
Re: malloc/free.. callback functions
From: Tor Arntsen <tor_at_spacetec.no>
Date: Sun, 4 Apr 2004 20:22:27 +0200
Date: Sun, 4 Apr 2004 20:22:27 +0200
On Apr 4, 10:59, Seshubabu Pasam wrote:
>Hmmm! Not exactly sure, how your suggestion would work! efence from what
>know, does mmap to allocate/manage memory. So it completely replaces
>malloc/free/realloc implementations ... In our case we are not
>completely replacing malloc/free/realloc etc. We are just wrapping them
>in our own functions and doing some checks for bad stuff.
[...]
Ah, yes if what you want is to both do your own thing *and* use
the libc malloc etc. as well, then simply replacing the system
calls isn't enough. In that case I'm actually for your original
suggestion.
-Tor
Received on 2004-04-04