Mail Archives: djgpp-workers/2002/03/04/19:52:54
Eli Zaretskii wrote:
>
> > 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.
It is not necessary IMO. Any such can be done by inserting and
calling custom routines, without worrying about interfering with
initialization etc. And it would be active, while this setup is
purely passive.
--
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT XXXXworldnet DOT att DOT net)
Available for consulting/temporary embedded and systems.
(Remove "XXXX" from reply address. yahoo works unmodified)
mailto:uce AT ftc DOT gov (for spambots to harvest)
- Raw text -