[Lazarus] Threads in Lazarus code base
mschnell at lumino.de
Wed Sep 15 14:13:46 CEST 2010
On 09/15/2010 02:05 PM, Juha Manninen (gmail) wrote:
> Totally banning threads is not right, IMO.
From an "OS View" threads are just processes only that the memory
manager tables are common. So they are as useful as processes are and
even a lot faster when it comes to transferring informations between the
threads of a process. Only the programmers are having problems to handle
this power :).
So it would be great to be able to use threads but to hide this from the
programmers, (only very few programmers decently understand the use of
"ThreadVar"). TThread does this hiding very bad. Parallel Loops might
offer a more easy to use language based Thread model. I think there are
some more such concepts around.
More information about the Lazarus