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" 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: <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 Precedence: bulk > Date: Mon, 04 Mar 2002 06:26:44 -0500 > From: CBFalconer > > 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.