Changeset 1348 for trunk/dll/systemf.c


Ignore:
Timestamp:
Dec 20, 2008, 5:25:22 AM (17 years ago)
Author:
Gregg Young
Message:

More code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r1321 r1348  
    11231123        switch_to(pszDirectory);
    11241124      }
    1125 
    1126       // printf("%s %d DosStartsession thread 0x%x data\n ",
    1127       //       __FILE__, __LINE__,ptib->tib_ordinal); fflush(stdout);   // 10 Mar 07 SHL hang
    1128       // printf(" %d %d %d %s %s %s %d %d\n %s %x %x\n",
    1129       //       sdata.Length , sdata.Related, sdata.FgBg, sdata.PgmName,
    1130       //     sdata.PgmInputs, sdata.TermQ, sdata.InheritOpt,
    1131       //   sdata.SessionType, szTermQName,
    1132       //   hTermQ, hTermQSem); fflush(stdout);
    11331125      ret = DosStartSession(&sdata, &ulSessID, &sessPID);
    11341126
    1135       // if (type & WAIT) {
    1136       // printf("%s %d DosStartession thread 0x%x rc = %d sess = %u pid = 0x%x\n",
    1137       //        __FILE__, __LINE__, ptib->tib_ordinal,ret, ulSessID, sessPID); fflush(stdout);  // 10 Mar 07 SHL hang
    1138       // }
    1139       // else {
    1140       // printf("%s %d DosStartession thread 0x%x nowait rc = %d\n",
    1141       //      __FILE__, __LINE__, ptib->tib_ordinal,ret); fflush(stdout);       // 10 Mar 07 SHL hang
    1142       // }
    11431127
    11441128      if (pszDirectory && *pszDirectory)
     
    11561140        if (!useTermQ) {
    11571141          STATUSDATA sd;
    1158           // Could not create queue - fallback - fixme to be gone?
    1159           // printf("%s %d waiting wo/termq\n", __FILE__, __LINE__); fflush(stdout);    // 12 Mar 07 SHL hang
    11601142
    11611143          memset(&sd, 0, sizeof(sd));
     
    11691151              break;
    11701152            if (ctr > 10) {
    1171               //   printf("%s %d thread 0x%x showing slow sess %u pid 0x%x\n",
    1172               //        __FILE__, __LINE__,ptib->tib_ordinal,ulSessID,sessPID); fflush(stdout); // 12 Mar 07 SHL
    11731153              ShowSession(hwnd, sessPID);       // Show every 2 seconds
    11741154              ctr = 0;
     
    11891169            else {
    11901170              if (ctr == 20) {
    1191                 // printf("%s %d thread 0x%x showing slow sess %u pid 0x%x\n",
    1192                 //       __FILE__, __LINE__,ptib->tib_ordinal,ulSessID,sessPID); fflush(stdout);
    11931171                ShowSession(hwnd, sessPID);             // Show long running session
    11941172              }
Note: See TracChangeset for help on using the changeset viewer.