Changeset 535
- Timestamp:
- Nov 4, 2006, 9:08:42 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/comp.c
r517 r535 22 22 15 Aug 06 SHL Turn off hide not selected on dir change 23 23 19 Oct 06 SHL Correct . and .. detect 24 03 Nov 06 SHL Count thread usage 24 25 25 26 ***********************************************************************/ … … 168 169 if(hmq2) { 169 170 WinCancelShutdown(hmq2,TRUE); 171 IncrThreadUsage(); 170 172 if(!IsFile(fc.file1) || IsRoot(fc.file1)) { 171 173 p1 = strrchr(fc.file2,'\\'); … … 269 271 fclose(fp1); 270 272 } 273 DecrThreadUsage(); 271 274 WinDestroyMsgQueue(hmq2); 272 275 } … … 363 366 if(hmq) { 364 367 WinCancelShutdown(hmq,TRUE); 368 IncrThreadUsage(); 365 369 priority_normal(); 366 370 switch(cmp->action) { … … 590 594 WinDestroyMsgQueue(hmq); 591 595 } 596 DecrThreadUsage(); 592 597 WinTerminate(hab); 593 598 } … … 615 620 if(hmq) { 616 621 WinCancelShutdown(hmq,TRUE); 622 IncrThreadUsage(); 617 623 priority_normal(); 618 624 switch(cmp->action) { … … 637 643 WinDestroyMsgQueue(hmq); 638 644 } 645 DecrThreadUsage(); 639 646 WinTerminate(hab); 640 647 } … … 787 794 788 795 WinCancelShutdown(hmq,TRUE); 796 IncrThreadUsage(); 789 797 hwndLeft = WinWindowFromID(cmp->hwnd,COMP_LEFTDIR); 790 798 hwndRight = WinWindowFromID(cmp->hwnd,COMP_RIGHTDIR); … … 1410 1418 WinDestroyMsgQueue(hmq); 1411 1419 } 1420 DecrThreadUsage(); 1412 1421 WinTerminate(hab); 1413 1422 }
Note: See TracChangeset
for help on using the changeset viewer.