[Lazarus] Library, Threads and Gui
Mark Morgan Lloyd
markMLl.lazarus at telemetry.co.uk
Tue Jun 5 17:15:24 CEST 2012
Michael Schnell wrote:
> On 06/05/2012 09:47 AM, Mattias Gaertner wrote:
>> On Tue, 05 Jun 2012 09:33:53 +0200
>> Michael Schnell<mschnell at lumino.de> wrote:
>>
>>> Will just "using" cmem both in the main program and in the library
>>> automatically unify the memory managers ?
>> Under Linux: yes. I guess BSD, OS X
>> too.
> If cmem can do this so easily, would it not be a good idea to upgrade
> the FP memory manager so that it can (optionally) do this, as well, so
> that dynamically linked projects work appropriately "out of the box" ?
Is it possible to look at a pointer or object, and decide unambiguously
whether it makes sense in the context of the current memory manager, or
is a rogue that's been passed from elsewhere and should be treated with
caution?
--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the Lazarus
mailing list