Browse Prior Art Database

Using Few Timers to Monitor Many Activities

IP.com Disclosure Number: IPCOM000108416D
Original Publication Date: 1992-May-01
Included in the Prior Art Database: 2005-Mar-22
Document File: 1 page(s) / 52K

Publishing Venue

IBM

Related People

Hock, RK: AUTHOR [+2]

Abstract

Disclosed is a means for a program to control several concurrent activities with one watchdog timer.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 70% of the total text.

Using Few Timers to Monitor Many Activities

      Disclosed is a means for a program to control several
concurrent activities with one watchdog timer.

      All activities controlled by a system are separated into groups
such that one timer controls all activities in one group.  An
activity is put into a group if the following criteria are met:
1.   It is allowed the same minimum time to complete as all the other
activities in the group.
2.   It is never started a second time until all activities in the
group which are active have ended.
The minimum time that the activities need to complete is called the
waiting period for the group.

      Whenever the first activity within a group is begun the timer
associated with it is set to expire at a certain time. This time is
arrived at by adding the waiting period associated with the group to
the current time.  When another activity within the same group is
started before the timer expires, the time to expire is set in the
same manner:  that is, the same waiting period associated with the
group is added to the new current time.  The end result of this
action is that the first activity started within a group has a longer
time interval than the waiting period to complete before the timer
expires.  The last activity started within a group has a time
interval equal to the waiting period to complete before the timer
expires.

      An expiring timer indicates to a monitor program that one or
more activities in...