[fpc-pascal] What's the status of RTL and IsMultiThreaded := True?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-pascal