Changeset 1270 for trunk/dll/systemf.c


Ignore:
Timestamp:
Nov 8, 2008, 9:48:24 PM (17 years ago)
Author:
Gregg Young
Message:

Comments and code cleanup for WaitChildThread solution to hang cused by viewer opening before archiver process closes (Ticket 58)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/systemf.c

    r1268 r1270  
    2424  26 May 08 SHL Use uiLineNumber correctly
    2525  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 trying
     27                to open a file before the archiver process closes. (Ticket 58)
    2628
    2729***********************************************************************/
     
    11791181        }
    11801182        else {
     1183          ULONG clPosted;
     1184
     1185          DosResetEventSem(hWaitChildSem, &clPosted);
    11811186          for (ctr = 0;; ctr++)
    11821187          {
     
    12101215
    12111216            if (pTermInfo->usSessID == ulSessID) {
    1212               DosPostEventSem(hWaitChildSem);
     1217              DosPostEventSem(hWaitChildSem); //Posted to WaitChildThread (arccnrs.c)
    12131218                break;                    // Our session is done
    12141219            }
Note: See TracChangeset for help on using the changeset viewer.