[fpc-pascal] What's the status of RTL and IsMultiThreaded := True?

Jonas Maebe jonas.maebe at elis.ugent.be
Sat Apr 13 11:28:29 CEST 2013


On 13 Apr 2013, at 11:12, Anthony Walter wrote:

> Basically, what I want to know is "HOW DO I..." ensure the RTL memory
> management is safe if multiple threads are running, but if a TThread class
> is never instantiated. 

You have to start at least one thread before the multithreading functionality is initialised, there is no way around that. You can however also use system.beginthread instead: http://www.freepascal.org/docs-html/rtl/system/beginthread.html


Jonas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130413/a44b29a8/attachment.html>


More information about the fpc-pascal mailing list