Changeset 1838 for trunk/dll/select.c


Ignore:
Timestamp:
Aug 3, 2015, 12:14:21 AM (10 years ago)
Author:
Gregg Young
Message:

Serialize local hard drive scanning to reduce drive thrashing continue to scan all other drive types in separate threads. Ticket [561] Remove unneed SubbyScan code and improve suppression of blank lines and duplicate subdirectory name caused by running Stubby in worker threads.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/select.c

    r1812 r1838  
    3232  31 May 11 SHL Ensure mask->pszMasks[1] initialize to NULL if not used
    3333  13 Jun 15 GKY Fixed compare selection replaced pszFileNames with pszDisplayNames
     34  02 Aug 15 GKY Remove unneed SubbyScan code and improve suppression of blank lines and
     35                duplicate subdirectory name caused by running Stubby in worker threads.
    3436
    3537***********************************************************************/
     
    6365#include "stristr.h"                    // findstring
    6466#include "fortify.h"
     67#if 0
     68#define  __PMPRINTF__
     69#include "PMPRINTF.H"
     70#endif
    6571
    6672static PSZ pszSrcFile = __FILE__;
     
    572578    pci = (PCNRITEM) WinSendMsg(hwndCnr, CM_QUERYRECORD, MPFROMP(pciParent),
    573579                                MPFROM2SHORT(CMA_FIRSTCHILD, CMA_ITEMORDER));
    574     if (pci)
    575       DosSleep(0);
    576     while (pci && (INT)pci != -1) {
     580      while (pci && (INT)pci != -1) {
    577581      ExpandAll(hwndCnr, expand, pci);
    578582      pci = (PCNRITEM) WinSendMsg(hwndCnr, CM_QUERYRECORD, MPFROMP(pci),
Note: See TracChangeset for help on using the changeset viewer.