[fpc-pascal] Where is IsMultiThreaded set under Linux?
Andrew Brunner
andrew.t.brunner at gmail.com
Fri Oct 8 14:44:08 CEST 2010
> procedure TBarThread.Execute;
> begin
> FFinished := False; // work-around variable
> while not Terminated do
> begin
> Synchronize(@UpdateProgressBar);
> end;
> FFinished := True; // work-around variable
> end;
>
What about dropping that loop and put it in UpdateProgressBar
TForm1.UpdateProgressBar;
begin
Something here
Application.ProcessMessages
end;
And drop the waitfor all together?
More information about the fpc-pascal
mailing list