Changeset 1856 for trunk/dll/update.c


Ignore:
Timestamp:
Aug 18, 2015, 7:12:52 PM (10 years ago)
Author:
Steven Levine
Message:

Rework Flesh/Stubby etc. to avoid running on thread 1
Should be ready for release after spurious traps resolved
DbgMsg calls retained - delete/disable before release

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/update.c

    r1830 r1856  
    77
    88  Copyright (c) 1993-98 M. Kimes
    9   Copyright (c) 2003, 2008 Steven H. Levine
     9  Copyright (c) 2003, 2015 Steven H. Levine
    1010
    1111  12 Feb 03 SHL Standardize EA math
     
    2121  14 Mar 09 GKY Prevent execution of UM_SHOWME while drive scan is occuring
    2222  22 Jul 09 GKY Code changes to use semaphores to serialize drive scanning
     23  07 Aug 15 SHL Sync with Flesh/Stubby mods
     24
    2325
    2426***********************************************************************/
     
    200202            PostMsg(hwndCnr, UM_RESCAN, MPVOID, MPVOID);
    201203            if (pci->attrFile & FILE_DIRECTORY) {
    202               Stubby(hwndCnr, pci);
     204              AddFleshWorkRequest(hwndCnr, pci, eStubby);
    203205            }
    204206          }
     
    243245                if (WinSendMsg(hwndCnr,
    244246                               CM_INSERTRECORD, MPFROMP(pci), MPFROMP(&ri))) {
    245                   Flesh(hwndCnr, pci);
     247                  AddFleshWorkRequest(hwndCnr, pci, eFlesh);
    246248                  *p = temp;
    247249                  pci = FindCnrRecord(hwndCnr,
     
    255257              pciParent = pciT;
    256258              if (!(pciT->rc.flRecordAttr & CRA_EXPANDED)) {
    257                 Flesh(hwndCnr, pciT);
     259                AddFleshWorkRequest(hwndCnr, pciT, eFlesh);
    258260                *p = temp;
    259261                pci = FindCnrRecord(hwndCnr,
     
    294296              dcd->ullTotalBytes += ullTotalBytes;
    295297            }
    296             Stubby(hwndCnr, pci);
     298            AddFleshWorkRequest(hwndCnr, pci, eStubby);
    297299          }
    298300        }
     
    460462                repos = TRUE;
    461463                if (pci->attrFile & FILE_DIRECTORY) {
    462                   Stubby(hwndCnr, pci);
     464                  AddFleshWorkRequest(hwndCnr, pci, eStubby);
    463465                }
    464466              }
     
    559561                  }
    560562                  repos = TRUE;
    561                   Stubby(hwndCnr, pci);
     563                  AddFleshWorkRequest(hwndCnr, pci, eStubby);
    562564                }
    563565                else
Note: See TracChangeset for help on using the changeset viewer.