[fpc-devel]RE: Free Pascal version 1.0.6 released

Jonas Maebe jonas at zeus.rug.ac.be
Wed May 8 11:57:10 CEST 2002


On dinsdag, mei 7, 2002, at 09:14 , Michael Schnell wrote:

> We tried to make the heap management thread save (without using my 
> TThread
> class, even without using classes at all, just using clone() to create 
> a new
> process) by introducing a locking mechanism, but in the end failed due 
> to
> still unknown reasons.

You can always implement a heap manager that that uses the OS's memory 
allocation routines (those are normally thread-safe). See the cmem unit 
in the packages as an example (I think it should work for both Linux and 
win32)


Jonas





More information about the fpc-devel mailing list