Changeset 1874 for trunk/dll/flesh.c
- Timestamp:
- Sep 27, 2015, 7:20:10 PM (10 years ago)
- File:
-
- 1 edited
-
trunk/dll/flesh.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/flesh.c
r1873 r1874 44 44 26 Sep 15 GKY WaitFleshWorkListEmpty now gives error message and returns if semaphore request 45 45 fails more than 5 consecutive times. 46 27 Sep 15 GKY DosSleep times in WaitFleshWorkListEmpty set by caller 46 47 47 48 ***********************************************************************/ … … 263 264 MPFROMP(pciParent), 264 265 MPFROM2SHORT(CMA_FIRSTCHILD, CMA_ITEMORDER)); 265 // No children or filename null266 // Added by Stubby to create plus sign run Stubby on it here and skip it in ProcessDirectory 266 267 if (pciL && (INT)pciL != -1) { 267 268 AddFleshWorkRequest(hwndCnr, pciL, eStubby); 268 // 2015-08-06 SHL FIXME to ensure this an not happen269 // 2015-08-06 SHL FIXME to ensure this can not happen 269 270 if (!*pciL->pszFileName || !strcmp(pciL->pszFileName, NullStr)) 270 271 Runtime_Error(pszSrcFile, __LINE__, "Flesh called with pci %p pszFileName (null)", pciL); … … 856 857 857 858 #ifndef WaitFleshWorkListEmpty // 2015-08-03 SHL FIXME debug 858 VOID WaitFleshWorkListEmpty(PCSZ pszDirName )859 VOID WaitFleshWorkListEmpty(PCSZ pszDirName, ULONG ulSleep) 859 860 #else 860 VOID WaitFleshWorkListEmptyDbg(PCSZ pszDirName, PCSZ pszSrcFile_, UINT uSrcLineNo_)861 VOID WaitFleshWorkListEmptyDbg(PCSZ pszDirName, ULONG ulSleep, PCSZ pszSrcFile_, UINT uSrcLineNo_) 861 862 #endif 862 863 { … … 933 934 if (!item) { 934 935 if (waited) 935 DosSleep( fExpandAll ? 1 : 240); // Let PM do some work936 DosSleep(ulSleep); // Let PM do some work 936 937 break; // Dependents gone from work list 937 938 } 938 939 } // if pszDirName 939 DosSleep( fExpandAll ? 10 : 250);940 DosSleep(ulSleep); 940 941 } // for 941 942
Note:
See TracChangeset
for help on using the changeset viewer.
