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.

-Michael

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to