A method of maintaining a count of active events of a process is provided
by a start counter and a complete counter. The start counter maintains a
first count of start events and may be operated upon only by the start
event of the process. The complete counter maintains a second count of
complete events and may be operated upon only by the complete event of
the process. The count of active events is established by determining the
difference between the first and second counts. The present invention
further provides for re-setting the first and second counts of the start
and complete counters, respectively, when one or both of the counters
have reached a maximum count value.