摘要 |
A data processing system and method of task management within a self-managing application program including a number of tasks and a processing time monitor are disclosed. In accordance with the present invention, a selected portion of processing time is allocated to each of the tasks in the self-managing application and the tasks are executed by the data processing system. Utilizing the processing time monitor, a determination is periodically made whether an actual portion of processing time utilized by each of the tasks exceeds the selected portion of processing time allocated to that task. In response to a determination that an actual portion of processing time utilized by a particular task exceeds the selected portion of processing time allocated that task, execution of the particular task is suspended for a selected penalty time. In one embodiment, the penalty time is selected such that following the expiration of the penalty time, the actual portion of processing time utilized by the particular task will be no greater than the selected portion of processing time allocated to the particular task.
|