Changeset 1570 for trunk/dll/dirsize.c
- Timestamp:
- Jun 13, 2011, 12:09:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/dirsize.c
r1554 r1570 55 55 20 Nov 10 GKY Check that pTmpDir IsValid and recreate if not found; Fixes hangs caused 56 56 by temp file creation failures. 57 12 Jun 11 GKY Added SleepIfNeeded in the container fill loop 57 58 58 59 ***********************************************************************/ … … 96 97 #include "excputil.h" // xbeginthread 97 98 #include "pathutil.h" // AddBackslashToPath 99 #include "tmrsvcs.h" 98 100 99 101 typedef struct … … 267 269 PFILEFINDBUF4L pffbFile; 268 270 ULONG x; 269 271 ITIMER_DESC itdSleep = { 0 }; // 30 May 11 GKY 272 273 InitITimer(&itdSleep, 500); 270 274 while (!rc) { 271 275 … … 303 307 DosError(FERR_DISABLEHARDERR); 304 308 rc = xDosFindNext(hdir, pffbArray, ulBufBytes, &ulFindCnt, FIL_QUERYEASIZEL); 309 SleepIfNeeded(&itdSleep, 1); 305 310 } // while more found 306 311
Note:
See TracChangeset
for help on using the changeset viewer.