www.icetips.com  Icetips Utilities Documentation 11/30/2010    

_ThreadLimit_GlobalAddProcedure

Previous  Top  Next  


Prototype: (WINDOW pWin, String pProcedureName, ITThreadLimitClass pProcClass, Byte pMaxRuns),BYTE

 

pWinReference to the procedure window.
pProcedureNameName of the procedure.
pProcClassInstance of the Thread Limit Class.
pMaxRunsMaximum number of runs for this procedure.

 

ReturnsIf the procedure was added successfully the method returns True.  If the procedure hit the MaxRuns limit, the method returns False.

 

This method is called by the AddProcedure method of the Thread Limit Class.  It is used to add or update the procedure listing in the global class.  If the procedure name already exists, the ProcRunCnt field in the WindowThreads queue is incremented. 

 

This method is called after the window is opened and the RemoveProcedure method is called when it is closing. 

 

See also:

AddProcedure

CheckProcedure

RemoveProcedure

MaxRuns

 



Direct link to this page: http://www.icetips.com/manuals/utilities/addprocedure_threadlimit_global.htm