Florian Klämpfl <flor...@freepascal.org> schrieb am So., 17. Juni 2018, 10:47:
> Am 17.06.2018 um 09:44 schrieb Sven Barth via fpc-pascal: > > Terry Mead <t...@weighbatch.com <mailto:t...@weighbatch.com>> schrieb am > So., 17. Juni 2018, 07:45: > > > > If the default memory manager for FP creates a heap for each thread, > what happens if an object is created in one > > thread and freed by another ? > > > > > > If I remember correctly the memory becomes part of the thread's free > list that freed the memory. (Though I could be > > wrong here) > > No. It is added to the "wait for free" queue of the thread which initially > allocated it. > Ah! That's how it was! 🤦♀️ Regards, Sven >
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal