Changeset 1882 for trunk/dll/select.c
- Timestamp:
- Oct 12, 2015, 9:59:34 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/select.c
r1874 r1882 72 72 #include "fortify.h" 73 73 #include "flesh.h" 74 #include "treecnr.h" // fExpandAll 74 75 #if 0 75 76 #define __PMPRINTF__ … … 599 600 fExpanding = TRUE; 600 601 if (IsFleshWorkListEmpty()) 601 DosSleep( 0); // Yield to EXPANDTREE and Flesh thread602 DosSleep(fExpandAll ? 0 : 10); // Yield to EXPANDTREE and Flesh thread 602 603 if (!IsFleshWorkListEmpty()) { 603 WaitFleshWorkListEmpty(NULL, 10); // Let it expand604 WaitFleshWorkListEmpty(NULL, fExpandAll ? 1 : 50); // Let it expand 604 605 } 605 606 } … … 608 609 ExpandAll(hwndCnr, count, pci); 609 610 if (count != 0 && !IsFleshWorkListEmpty()) 610 WaitFleshWorkListEmpty(NULL, 10); // Wait for container to catch up611 WaitFleshWorkListEmpty(NULL, fExpandAll ? 1 : 50); // Wait for container to catch up 611 612 pci = (PCNRITEM) WinSendMsg(hwndCnr, CM_QUERYRECORD, MPFROMP(pci), 612 613 MPFROM2SHORT(CMA_NEXT, CMA_ITEMORDER));
Note:
See TracChangeset
for help on using the changeset viewer.