[Lazarus] Threads in Lazarus code base

Michael Schnell mschnell at lumino.de
Tue Sep 21 09:59:40 CEST 2010

  On 09/20/2010 01:55 PM, Mattias Gärtner wrote:
> for i:=1 to 100000000 do
>   spawn DoSomething(i);
Who has a 100000000 Core hardware ?

But with some Super-Computers, spawning some thousand DoSomethings might 
be viable.

Usually any type of "parallel" implementation in a language or a library 
would limit the count of spawned tasks to a number lower than the count 
of CPUs available.


More information about the Lazarus mailing list