- Timestamp:
- Oct 23, 2011, 12:13:04 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/dll/filldir.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/filldir.c
r1570 r1643 98 98 responsiveness when closing containers with large numbers of items 99 99 12 Jun 11 GKY Replaced SleepIfNeeded with IdleIfNeeded in the container loade loop 100 22 Oct 11 GKY Removing unneeded UnFlesh call from StubbyScanThread appears to significantly speed opening of FM/2 100 101 101 102 ***********************************************************************/ … … 255 256 if (!(flags & ((fRScanNoWrite ? 0 : DRIVE_NOTWRITEABLE) || 256 257 (fRScanSlow ? 0 : DRIVE_SLOW)))) { 257 UnFlesh(StubbyScan->hwndCnr, StubbyScan->pci);258 258 Flesh(StubbyScan->hwndCnr, StubbyScan->pci); 259 259 } … … 261 261 else { 262 262 Stubby(StubbyScan->hwndCnr, StubbyScan->pci); 263 //if (!ok)264 // FixedVolume--;265 263 } 266 264 } … … 1694 1692 ULONG flags = driveflags[iDrvNum]; // Speed up 1695 1693 if (~flags & DRIVE_INVALID && 1696 ~flags & DRIVE_NOPRESCAN && 1697 (!fNoRemovableScan || ~flags & DRIVE_REMOVABLE)) 1698 { 1699 if (xbeginthread(StubbyScanThread, 1694 ~flags & DRIVE_NOPRESCAN && (!fNoRemovableScan || ~flags & DRIVE_REMOVABLE)) { 1695 // DbgMsg(pszSrcFile, __LINE__, "Begin Thread %s", pci->pszFileName); 1696 if (xbeginthread(StubbyScanThread, 1700 1697 65536, 1701 1698 stubbyScan, 1702 pszSrcFile, 1703 __LINE__) == -1) 1704 { 1705 xfree(stubbyScan, pszSrcFile, __LINE__); 1706 } 1699 pszSrcFile, __LINE__) == -1) 1700 xfree(stubbyScan, pszSrcFile, __LINE__); 1701 1707 1702 } // if drive needs to be scanned 1708 1703 }
Note:
See TracChangeset
for help on using the changeset viewer.
