[fpc-devel]multi-threaded support

Peter Vreman peter at freepascal.org
Mon Nov 4 07:35:01 CET 2002

> Hello!
> Pardon my question if I'm a little slow here, but does the RTL being
> multi-threaded mean that I don't need to use the CMEM unit to allocate
> memory in a multi-threaded application?  I can't seem to find a CMEM unit
> anywhere, by the way, so maybe someone can point me to that unit if the
> new RTL doesn't support thread-safe memory allocation.

The RTL heap manager is thread-safe when you include at least once
${Threading On} in your program/unit.

cmem can be found in packages/extra/cmem

More information about the fpc-devel mailing list