Changeset 814 for trunk/dll/seeall.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/seeall.c

    r787 r814  
    2929  14 Aug 07 SHL Revert to DosSleep(0) to speed up inner loops
    3030  14 Aug 07 SHL Drop afFilesToGet
     31  26 Aug 07 GKY DosSleep(1) in loops changed to (0)
    3132
    3233***********************************************************************/
     
    642643                goto Abort;
    643644              }
    644               DosSleep(1);
     645              DosSleep(0);  //26 Aug 07 GKY 1
    645646              if (mv.skip || !*mv.target)
    646647                break;
     
    16451646          for (x = 0; x < ad->affiles; x++)
    16461647            ad->afhead[x].flags &= (~(AF_DUPE | AF_SELECTED));
    1647           DosSleep(1);
     1648          DosSleep(0);  //26 Aug 07 GKY 1
    16481649          for (x = 0; x < ad->affiles && !ad->stopflag; x++) {
    16491650            if (!(ad->afhead[x].flags & (AF_DUPE | AF_FILTERED))) {
     
    20342035                DoADir(hwnd, startname);
    20352036                PostMsg(hwnd, UM_RESCAN, MPVOID, MPVOID);
    2036                 DosSleep(1);
     2037                DosSleep(0); //26 Aug 07 GKY 1
    20372038              }
    20382039            }
Note: See TracChangeset for help on using the changeset viewer.