* fixed race condition

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

View File

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