Hi all
when switching to Delphi 10.3 Rio I encountered AV in the Parallel Library code. The following somple case can reproduce the issue. I assume that the reason of the problem is a race condition. So it happens in the most of cases but not 100%.
program ParallelForAV;
{$APPTYPE CONSOLE}
uses
System.SysUtils, System.Threading;
begin
try
TParallel.&For(1, 200, procedure (AIndex: Integer)
begin
Abort;
end);
except
{ ignore exceptions }
end;
end.
I cannot find this issue at https://quality.embarcadero.com.
Could someone confirm the problem?
Best regards
Alexander