Changeset 1553 for trunk/dll/init.c


Ignore:
Timestamp:
Nov 20, 2010, 10:18:32 PM (15 years ago)
Author:
Gregg Young
Message:

Rework scanning code to remove redundant scans, prevent double directory entries in the tree container, fix related semaphore performance using combination of event and mutex semaphores

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r1551 r1553  
    9898  09 MAY 10 JBS Ticket 434: Make fDontSuggestAgain a "global" flag, not a per app flag
    9999  23 Oct 10 GKY Changes to populate and utilize a HELPTABLE for context specific help
     100  20 Nov 10 GKY Rework scanning code to remove redundant scans, prevent double directory
     101                entries in the tree container, fix related semaphore performance using
     102                combination of event and mutex semaphores
    100103
    101104***********************************************************************/
     
    196199HMTX hmtxFM2Delete;
    197200HMTX hmtxFM2Globals;
     201HMTX hmtxScanning;
    198202HEV  hevTreeCnrScanComplete;
    199203ULONG OS2ver[2];
     
    11081112  if (DosCreateMutexSem(NULL, &hmtxFM2Globals, 0L, FALSE))
    11091113    Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
     1114              PCSZ_DOSCREATEMUTEXSEM);
     1115  if (DosCreateMutexSem(NULL, &hmtxScanning, 0L, FALSE))
     1116    Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__,
    11101117              PCSZ_DOSCREATEMUTEXSEM);
    11111118  if (DosCreateMutexSem(NULL, &hmtxFM2Delete, 0L, FALSE))
Note: See TracChangeset for help on using the changeset viewer.