Changeset 1274 for trunk/dll/systemf.c
- Timestamp:
- Nov 11, 2008, 1:16:14 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/systemf.c
r1272 r1274 24 24 26 May 08 SHL Use uiLineNumber correctly 25 25 19 Jul 08 GKY Replace save_dir2(dir) with pFM2SaveDirectory or pTmpDir and use MakeTempName 26 08 Nov 08 GKY Post an event semaphore to WaitChildThread to fix hang caused by viewer trying27 to open a file before the archiver process closes. (Ticket 58)28 26 29 27 ***********************************************************************/ … … 1086 1084 hTermQ = (HQUEUE)0; // Try to survive 1087 1085 DosExitCritSec(); 1088 Dos_Error(MB_ENTER,rc,HWND_DESKTOP,pszSrcFile,__LINE__,"Do sCreateEventSem");1086 Dos_Error(MB_ENTER,rc,HWND_DESKTOP,pszSrcFile,__LINE__,"DoCreateEventSem"); 1089 1087 } 1090 1088 // if (!rc) fprintf(stderr,"%s %d qcreated ptib %x hTermQ %x\n",__FILE__, __LINE__,ptib,hTermQ); … … 1132 1130 // sdata.PgmInputs, sdata.TermQ, sdata.InheritOpt, 1133 1131 // sdata.SessionType, szTermQName, 1134 // hTermQ, ); fflush(stdout);1132 // hTermQ, hTermQSem); fflush(stdout); 1135 1133 ret = DosStartSession(&sdata, &ulSessID, &sessPID); 1136 1134 … … 1170 1168 if (DosSetSession(ulSessID, &sd)) // Check if session gone (i.e. finished) 1171 1169 break; 1172 if (ctr > 20) {1170 if (ctr > 10) { 1173 1171 // printf("%s %d thread 0x%x showing slow sess %u pid 0x%x\n", 1174 1172 // __FILE__, __LINE__,ptib->tib_ordinal,ulSessID,sessPID); fflush(stdout); // 12 Mar 07 SHL … … 1206 1204 } 1207 1205 1208 //printf("%s %d DosReadQueue thread 0x%x sess %u sessRC %u rq.pid 0x%x rq.data 0x%x\n",1209 //__FILE__, __LINE__,ptib->tib_ordinal,pTermInfo->usSessID,pTermInfo->usRC,rq.pid, rq.ulData); fflush(stdout);1210 1211 if (pTermInfo->usSessID == ulSessID) {1206 // printf("%s %d DosReadQueue thread 0x%x sess %u sessRC %u rq.pid 0x%x rq.data 0x%x\n", 1207 // __FILE__, __LINE__,ptib->tib_ordinal,pTermInfo->usSessID,pTermInfo->usRC,rq.pid, rq.ulData); fflush(stdout); 1208 1209 if (pTermInfo->usSessID == ulSessID) 1212 1210 break; // Our session is done 1213 }1214 1211 1215 1212 // Requeue session for other thread
Note:
See TracChangeset
for help on using the changeset viewer.