Changeset 771 for trunk/dll/systemf.c


Ignore:
Timestamp:
Aug 6, 2007, 5:05:35 AM (18 years ago)
Author:
Gregg Young
Message:

Increase subject to 1024 reduce DosSleep times

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r766 r771  
    11221122          for (ctr = 0;; ctr++)
    11231123          {
    1124             DosSleep(200);
     1124            DosSleep(100);//05 Aug 07 GKY 200
    11251125            if (DosSetSession(ulSessID, &sd))   // Check if session gone (i.e. finished)
    11261126              break;
     
    11401140                                DCWW_NOWAIT, &bPriority, hTermQSem);
    11411141              if (rc == ERROR_QUE_EMPTY) {
    1142                 DosSleep(100);
     1142                DosSleep(50);//05 Aug 07 GKY 100
    11431143                continue;
    11441144              }
     
    11571157              // Oh heck
    11581158              Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,"DosReadQueue");
    1159               DosSleep(500);
     1159              DosSleep(100);//05 Aug 07 GKY 500
    11601160              continue;
    11611161            }
     
    11741174              // fixme to be gone when no longer needed for debug?
    11751175              if (ulLastSessID) {
    1176                 DosSleep(500);
     1176                DosSleep(100);//05 Aug 07 GKY 500
    11771177                ulLastSessID = pTermInfo->usSessID;
    11781178              }
     
    11811181              if (rc)
    11821182                Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,"DosWriteQueue");
    1183               DosSleep(100);            // Let other thread see queue entry
     1183              DosSleep(50); //05 Aug 07 GKY 100         // Let other thread see queue entry
    11841184            }
    11851185          } // for
Note: See TracChangeset for help on using the changeset viewer.