www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/03/04/14:19:37

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-workers-bounces using -f
Date: Mon, 04 Mar 2002 21:17:04 +0200
From: "Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il>
Sender: halo1 AT zahav DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-Id: <9003-Mon04Mar2002211704+0200-eliz@is.elta.co.il>
X-Mailer: emacs 21.2.50 (via feedmail 8 I) and Blat ver 1.8.9
In-reply-to: <3C8359F4.FC5CEE88@yahoo.com> (message from CBFalconer on Mon, 04
Mar 2002 06:26:44 -0500)
Subject: Re: Malloc/free DJGPP code
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1020304081707 DOT 6398F-100000 AT is> <3C8359F4 DOT FC5CEE88 AT yahoo DOT com>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Mon, 04 Mar 2002 06:26:44 -0500
> From: CBFalconer <cbfalconer AT yahoo DOT com>
> 
> It allows full access to the quiescent status, including the free
> memory chains.  From any allocated memory it can follow the chains
> to all contiguous memory (which are broken by any unexpected
> sbrk).  It does NOT allow inserting 'callbacks' in the malloc,
> free, realloc calls, although I can conceive of that being
> feasible.  Any such would involve additional overhead.

The calls to such hooks could be via function pointers, only if they
are non-NULL.  If they are set to NULL by default, the overhead is
just a simple test.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019