* fixed race condition

This commit is contained in:
florian 2005-04-03 18:26:18 +00:00
parent 32a8463209
commit 9fba928b62

View File

@ -64,11 +64,13 @@ begin
//WriteLn('Loop forever inside Tester.run when compiled by FPC 1.9.8');
end;
thread.Terminate;
thread.waitfor;
end;
var
t: Tester;
t: Tester;
begin
t := Tester.Create;
t.run;
t:=Tester.Create;
t.run;
t.free;
end.