Claims
- 1. A method for monitoring a task executing on a data processing system, the task having an associated work in process queue and an associated work pending queue, comprising the steps of:
providing the task configured to properly execute requests which are terminated in progress and restarted from an initial start point; determining if the task is executing properly; and restarting the task if it is not executing properly; and wherein the step of restarting the task comprises the step of reinitiating execution by the task of requests in the work in process queue.
- 2. A method according to claim 1 wherein the step of restarting the task comprises the steps of:
placing requests in the work in process queue in the work pending queue; clearing the work in process queue; and reinitiating execution by the task of requests from the work pending queue.
- 3. A method according to claim 2 wherein a plurality of interrelated tasks are monitored by a watchdog task and wherein each of the plurality of interrelated tasks has an associated work in process queue and an associated work pending queue and wherein at least one of the plurality of interrelated tasks places requests in the associated work pending queue of a second of the plurality of interrelated tasks and executes requests from its associated work pending queue received from a third of the plurality of interrelated tasks.
- 4. A method according to claim 3 wherein the second of the plurality of interrelated tasks is the third of the plurality of interrelated tasks.
- 5. A system for monitoring tasks executing on a computer, comprising:
a first task having an associated work in process queue and an associated work pending queue, a watchdog task comprising:
means for determining if the first task is executing properly; and means for restarting the first task if it is not executing properly, the means for restarting comprising:
means for placing requests in the work in process queue in the work pending queue; means for clearing the work in process queue; and means for reinitiating execution by the first task of requests from the work pending queue; and wherein the first task further comprises means for properly executing requests which are terminated in progress and restarted from an initial start point.
- 6. A system according to claim 5 wherein the means for restarting the task comprises:
means for placing requests in the work in process queue in the work pending queue; means for clearing the work in process queue; and means for reinitiating execution by the task of requests from the work pending queue.
- 7. A system according to claim 6 wherein a plurality of interrelated tasks are monitored by a watchdog task and wherein each of the plurality of interrelated tasks has an associated work in process queue and an associated work pending queue and wherein at least one of the plurality of interrelated tasks places requests in the associated work pending queue of a second of the plurality of interrelated tasks and executes requests from its associated work pending queue received from a third of the plurality of interrelated tasks.
- 8. A system according to claim 7 wherein the second of the plurality of interrelated tasks is the third of the plurality of interrelated tasks.
- 9. A computer program product for monitoring a task executing on a computer, the task having an associated work in process queue and an associated work pending queue, the computer program product comprising:
a computer-readable storage medium having computer-readable program code means embodied in said medium, said computer-readable program code means comprising:
computer-readable program code means for determining if the task is executing properly; computer-readable program code means for restarting the task if it is not executing properly, the computer-readable program code means for restarting comprising:
computer-readable program code means for placing requests in the work in process queue in the work pending queue; computer-readable program code means for clearing the work in process queue; and computer-readable program code means for reinitiating execution by the task of requests from the work pending queue; and wherein the task is configured to properly execute requests which are terminated in progress and restarted from an initial start point.
- 10. A computer program product according to claim 9 wherein the computer-readable program code means for restarting the task comprises:
computer-readable program code means for placing requests in the work in process queue in the work pending queue; computer-readable program code means for clearing the work in process queue; and computer-readable program code means for reinitiating execution by the task of requests from the work pending queue.
- 11. A computer program product according to claim 10 wherein a plurality of interrelated tasks are monitored by a watchdog task and wherein each of the plurality of interrelated tasks has an associated work in process queue and an associated work pending queue and wherein at least one of the plurality of interrelated tasks places requests in the associated work pending queue of a second of the plurality of interrelated tasks and executes requests from its associated work pending queue received from a third of the plurality of interrelated tasks.
- 12. A computer program product according to claim 11 wherein the second of the plurality of interrelated tasks is the third of the plurality of interrelated tasks.
RELATED APPLICATIONS
[0001] This application is a divisional of application Ser. No. 09/234,085 filed on Jan. 19, 1999, the disclosure of which is incorporated by reference herein in its entirety.
Divisions (1)
|
Number |
Date |
Country |
Parent |
09234085 |
Jan 1999 |
US |
Child |
10735096 |
Dec 2003 |
US |