Changeset 814 for trunk/dll/dirsize.c


Ignore:
Timestamp:
Aug 26, 2007, 11:50:07 PM (18 years ago)
Author:
Gregg Young
Message:

DosSleep(1) in loops changed to (0) to enhance performance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dirsize.c

    r783 r814  
    3030  13 Aug 07 SHL ProcessDir: remove unneeded reallocs.  Sanitize code
    3131  13 Aug 07 SHL Move #pragma alloc_text to end for OpenWatcom compat
     32  26 Aug 07 GKY DosSleep(1) in loops changed to (0)
    3233
    3334***********************************************************************/
     
    420421                                               CMA_ITEMORDER));
    421422      while (pci && (INT) pci != -1) {
    422         DosSleep(1);
     423        DosSleep(0); //26 Aug 07 GKY 1
    423424        PrintToFile(hwndCnr, indent + 1, pci, fp);
    424425        pci = (PCNRITEM) WinSendMsg(hwndCnr, CM_QUERYRECORD, MPFROMP(pci),
    425426                                    MPFROM2SHORT(CMA_NEXT, CMA_ITEMORDER));
    426       }
     427      } //while
    427428    }
    428429  }
Note: See TracChangeset for help on using the changeset viewer.