[fpc-pascal]RTL thread safety

Peter Vreman peter at freepascal.org
Thu Jun 7 15:08:54 CEST 2001


> 
> What parts of the RTL are NOT thread safe and why?
> 
> I.e. what should I avoid if I want to create
> a threaded program with FPC?
> 
> Well, this may be a too big on to answer,
> but shoot me ;-)

At least the Heapmanager and IO. So no classes and objects creation etc. becuase they use
the heap.

The reason why they are not thread safe is very simple... NO TIME!









More information about the fpc-pascal mailing list