All pastes #255836 Raw Edit

Something

public text v1 · immutable
#255836 ·published 2006-11-23 12:39 UTC
rendered paste body
item := nil;
while true do begin
   item := nil;
   with ResultList.LockList do begin
     try
       for i := 0 to Count-1 do begin
          pok := Items[i];
          if pok^.checking = false then begin
            item := pok;
            break
          end
       end;
     finally
       ResultList.UnlockList;
     end
   end;

   if item <> nil then CheckAvailability;
end;