Suspension and reinstatement of reference handles
First Claim
1. A resource management system configured to manage resources comprising:
- one or more resources that can be consumed by one or more agents; and
a handle administrator configured to administer a handle system in which handles to the one or more resources are provided to the agents and can be dereferenced into pointers to the one or more resources, the handle system comprising more than two states for a handle, the states comprising;
an assigned state in which a handle is associated with a resource and can be dereferenced into a pointer to that resource;
an unassigned state in which the handle is not associated with a resource and cannot be dereferenced into a pointer to any resources; and
a suspended state in which the handle is associated with a resource but cannot be dereferenced into a pointer to any resources.
2 Assignments
0 Petitions
Accused Products
Abstract
A handle administration system is described in which software agents receive handles to various resources that they can use to obtain the resources. The described embodiments provide multiple states that can be assumed by the handles. An unassigned state is provided in which handles are not assigned to a particular resource, nor can they be dereferenced to obtain pointers to any resources. An assigned state is provided in which handles are assigned to a particular resource and can be dereferenced to obtain a pointer to the resource. A suspended state is provided in which the handles are assigned to a particular resource but cannot be dereferenced to obtain a pointer to that resource. Advantageously, a suspended handle can be reinstated to assume the assigned state. In one embodiment, the handle system is implemented by incorporating a suitable field in a handle database that is used to indicate that a handle is suspended. In another embodiment, no additional fields are necessary. Rather, handle values in the handle database are manipulated to indicate that a handle has been suspended. These manipulations can be easily undone to reinstate a handle. In the described embodiment, a three state handle system can be advantageously employed to implement a two-phase commit operation.
21 Citations
12 Claims
-
1. A resource management system configured to manage resources comprising:
-
one or more resources that can be consumed by one or more agents; and a handle administrator configured to administer a handle system in which handles to the one or more resources are provided to the agents and can be dereferenced into pointers to the one or more resources, the handle system comprising more than two states for a handle, the states comprising; an assigned state in which a handle is associated with a resource and can be dereferenced into a pointer to that resource; an unassigned state in which the handle is not associated with a resource and cannot be dereferenced into a pointer to any resources; and a suspended state in which the handle is associated with a resource but cannot be dereferenced into a pointer to any resources. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A resource management method for managing resources comprising:
-
providing one or more resources that can be consumed by one or more agents; and providing a handle administrator configured to administer a handle system in which handles to the one or more resources are provided to the agents and can be dereferenced into pointers to the one or more resources, the handle system comprising more than two states for a handle, the states comprising; an assigned state in which a handle is associated with a resource and can be dereferenced into a pointer to that resource; an unassigned state in which the handle is not associated with a resource and cannot be dereferenced into a pointer to any resources; and a suspended state in which the handle is associated with a resource but cannot be dereferenced into a pointer to any resources. - View Dependent Claims (8, 9, 10, 11, 12)
-
Specification