Lazarus equivalent code to Delphi TParallel.For lazarus / 21-General ---------------------------------------------------------------------- Paolo · 2021-03-14 09:24 Hello, There is in Lazarus/FPC the equivalent to TParallel.For in Delphi ? for code like this what library I have to install ? (Win 10 64, Laz 2.0.12, FPC 3.2.0), are there alternatives in case of no equivalent exists ? thank you in advance. Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   TParallel.For(gIniParam, gEndParam, procedure (I: Integer)  var    k : integer;    blah...blah;  begin    k:=0;    Do(I);  //here main task  Blah..., blah...  end;end; ---------------------------------------------------------------------- Mr.Madguy · 2021-03-14 12:53 First of all, FPC doesn't support closures now, so exactly this syntax isn't available for sure. ---------------------------------------------------------------------- engkin · 2021-03-14 14:20 Unit MTProcs, package multithreadprocslaz or BeRo's PasMP: ---------------------------------------------------------------------- Paolo · 2021-03-15 11:07 Thanks to all