[Lazarus] Threads in Lazarus code base
florian at freepascal.org
Wed Sep 15 15:16:47 CEST 2010
Am 15.09.2010 13:56, schrieb Michael Schnell:
> My impression is that regarding the OS-interface of a program that needs
> the said features (multiple "logical threads", performance, latency,
> making use of modern SMP systems, ...), threads are a necessity. But
> programming languages might be able to in many cases hide the dirty
> details from the programmer (e.g. "parallel" loops, see the Delphi Prism
> and/or .NET documentation on these issues.) If FPC could be enhances tn
> that direction it might be a decent improvement.
The parallel loop solves nothing which makes threading hard and is only
a cheap excuse. The real problems of threading are synchronization and
especially abording threads e.g. triggered by the main thread.
More information about the Lazarus