Changeset 1873 for trunk/dll/dircnrs.c


Ignore:
Timestamp:
Sep 26, 2015, 7:23:13 PM (10 years ago)
Author:
Gregg Young
Message:

Adjustments to ShowTreeRec to eliminate failures and reduce retries and container noise on tree switches. Remove fInitialDriveScan code. Changes to speed up ExpandAll. WaitFleshWorkListEmpty now gives error message and returns if semaphore request fails more than 5 consecutive times.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/dircnrs.c

    r1870 r1873  
    28642864                  // 2015-08-07 SHL FIXME to wait for Flesh to finish before PostMsg
    28652865                  if (SHORT2FROMMP(mp1) == CN_EXPANDTREE && AddFleshWorkRequest(hwnd, pci, eFlesh) &&
    2866                       !dcd->suspendview && fTopDir ) {
     2866                      !dcd->suspendview && fTopDir  && !fSwitchTreeOnDirChg) {
    28672867                    PostMsg(hwnd, UM_TOPDIR, MPFROMP(pci), MPVOID);
    28682868                    //DbgMsg(pszSrcFile, __LINE__, "UM_TOPDIR %p pci %p", hwnd, pci);
     
    28732873            }
    28742874            else if (SHORT2FROMMP(mp1) == CN_EXPANDTREE) {
    2875               if (AddFleshWorkRequest(hwnd, pci, eFlesh) && !dcd->suspendview && fTopDir) {
     2875              if (AddFleshWorkRequest(hwnd, pci, eFlesh) && !dcd->suspendview &&
     2876                  fTopDir && !fSwitchTreeOnDirChg) {
    28762877                // 2015-08-07 SHL FIXME to wait for Flesh to finish before PostMsg
    28772878                PostMsg(hwnd, UM_TOPDIR, MPFROMP(pci), MPVOID);
Note: See TracChangeset for help on using the changeset viewer.