Changeset 528 for trunk/dll/mle.c


Ignore:
Timestamp:
Nov 4, 2006, 9:59:06 PM (19 years ago)
Author:
root
Message:

Count thread usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/mle.c

    r350 r528  
    1212  16 Apr 06 SHL MLEexportfile: rework to avoid wrap problems
    1313  14 Jul 06 SHL Use Runtime_Error
     14  03 Nov 06 SHL Count thread usage
    1415
    1516***********************************************************************/
     
    769770      if(thmq) {
    770771        WinCancelShutdown(thmq,TRUE);
     772        IncrThreadUsage();
    771773        priority_normal();
    772774        if(bkg->hex == 1)
     
    786788        WinDestroyMsgQueue(thmq);
    787789      }
     790      DecrThreadUsage();
    788791      WinTerminate(thab);
    789792      _endthread();
    790793    }
     794    // fixme to be gone?
    791795    PostMsg(bkg->hwndReport,bkg->msg,MPVOID,MPVOID);
    792796  }
Note: See TracChangeset for help on using the changeset viewer.