Changeset 1880 for trunk/dll/systemf.c


Ignore:
Timestamp:
Oct 12, 2015, 8:26:16 PM (10 years ago)
Author:
Gregg Young
Message:

Remove dead code and comments from remaining c files. #if 0 and #if NEVER were not addressed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r1877 r1880  
    12421242          for (ctr = 0;; ctr++)
    12431243          {
    1244             DosSleep(50);//05 Aug 07 GKY 200
     1244            DosSleep(50);
    12451245            if (DosSetSession(ulSessID, &sd))   // Check if session gone (i.e. finished)
    12461246              break;
     
    12581258                                DCWW_NOWAIT, &bPriority, hTermQSem);
    12591259              if (rc == ERROR_QUE_EMPTY) {
    1260                 DosSleep(50);//05 Aug 07 GKY 100
     1260                DosSleep(50);
    12611261                continue;
    12621262              }
     
    12731273              // Oh heck
    12741274              Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,"DosReadQueue");
    1275               DosSleep(100);//05 Aug 07 GKY 500
     1275              DosSleep(100);
    12761276              continue;
    12771277            }
    1278 
    1279             //  printf("%s %d DosReadQueue thread 0x%x sess %u sessRC %u rq.pid 0x%x rq.data 0x%x\n",
    1280             //       __FILE__, __LINE__,ptib->tib_ordinal,pTermInfo->usSessID,pTermInfo->usRC,rq.pid, rq.ulData); fflush(stdout);
    12811278
    12821279            if (pTermInfo->usSessID == ulSessID)
     
    12861283            {
    12871284              static ULONG ulLastSessID;
    1288               // printf("%s %d requeue thread 0x%x our sess %u term sess %u term rc %u\n",
    1289               //       __FILE__, __LINE__,ptib->tib_ordinal,ulSessID,pTermInfo->usSessID,pTermInfo->usRC); fflush(stdout);
    1290               // fixme to be gone when no longer needed for debug?
    12911285              if (ulLastSessID) {
    1292                 DosSleep(100);//05 Aug 07 GKY 500
     1286                DosSleep(100);
    12931287                ulLastSessID = pTermInfo->usSessID;
    12941288              }
     
    12971291              if (rc)
    12981292                Dos_Error(MB_CANCEL,rc,hwnd,pszSrcFile,__LINE__,"DosWriteQueue");
    1299               DosSleep(50); //05 Aug 07 GKY 100         // Let other thread see queue entry
     1293              DosSleep(50);          // Let other thread see queue entry
    13001294            }
    13011295          } // for
    13021296
    13031297          ret = pTermInfo->usRC == 0;           // Set 1 if rc 0 else 0
    1304           // printf("%s %d thread 0x%x term for sess %u\n",
    1305           //      __FILE__, __LINE__,ptib->tib_ordinal,ulSessID);fflush(stdout);
    13061298          DosFreeMem(pTermInfo);
    13071299        }
Note: See TracChangeset for help on using the changeset viewer.