Patent ID: 7389297
Filing Date: 2008-06-17
Classification: G06F

Abstract:
1. A method for handling events comprising: creating a process contract by a first process, wherein the first process is an owner of the process contract, wherein the process contract defines how to handle at least one type of event; executing a first operation by the first process, wherein a second process is created by the first operation; adding the second process to the process contract as a descendent process of the owner, wherein the second process is added based on the creation of the second process by the first process; receiving a first event affecting the second process after the second process is added to the process contract, wherein the first event is of the at least one type of event; identifying the process contract associated with the second process; determining, using the process contract, whether the first event is a fatal event; killing the second process when the first event is a fatal event; determining whether the process contract requires the owner to handle the event; and handling the first event in the first process when required by the process contract.