What is the general thought on this code inside a thread's Execute method:

What is the general thought on this code inside a thread's Execute method:

while Working do
begin
  Sleep(1);
  Application.ProcessMessages;
end;

Comments