Changeset 528 for trunk/dll/grep.c
- Timestamp:
- Nov 4, 2006, 9:59:06 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/grep.c
r517 r528 18 18 26 Jul 06 SHL Check more run time errors 19 19 19 Oct 06 SHL Correct . and .. detect 20 03 Nov 06 SHL Count thread usage 20 21 21 22 ***********************************************************************/ … … 40 41 static PSZ pszSrcFile = __FILE__; 41 42 42 #pragma alloc_text(GREP,SecsSince1980,match,mmatch, dogrep)43 #pragma alloc_text(GREP,SecsSince1980,match,mmatch,GrepThread) 43 44 #pragma alloc_text(GREP,doallsubdirs,domatchingfiles) 44 45 … … 235 236 236 237 237 VOID dogrep(VOID *arg)238 VOID GrepThread (VOID *arg) 238 239 { 239 240 HAB ghab; … … 258 259 if(ghmq) { 259 260 WinCancelShutdown(ghmq,TRUE); 261 IncrThreadUsage(); 260 262 DosSleep(128L); 261 263 WinSetWindowText(grep.hwndCurFile, … … 371 373 WinDestroyMsgQueue(ghmq); 372 374 } 375 DecrThreadUsage(); 373 376 WinTerminate(ghab); 374 377 }
Note:
See TracChangeset
for help on using the changeset viewer.