for f_i:=0 to s_total do
   begin
     for rd_i:=0 to test.Count-1 do
     begin
       readdisk(test.strings[rd_i],rd_i,f_i);
       Sleep(0);
     end;
     diskXor(test.Count);
     WriteFile(test.Count);
     Application.ProcessMessages;   end;以上是我的循环,循环的最大值可以是2000000000的,这样的话运行CPU100%,加SLEEP(0)还是一样,加SLEEP(1)可以但是速度变慢了,请问有没有好的解决或者类似的好的方法????谢谢