Suspension and reinstatement of reference handles
First Claim
1. A resource management system comprising:
- at least one computer readable media; and
one or more handle records resident on the media, each record having fields, one of the fields being configured to provide indicia of whether a handle is in a state other than an assigned state and an unassigned state.
1 Assignment
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.
-
Citations
14 Claims
-
1. A resource management system comprising:
-
at least one computer readable media; and
one or more handle records resident on the media, each record having fields, one of the fields being configured to provide indicia of whether a handle is in a state other than an assigned state and an unassigned state. - View Dependent Claims (2)
-
-
3. A data structure embodied on a computer-readable medium for use in managing resources, the data structure comprising:
-
a first portion that is associated with a pointer to a resource; and
a second portion that is associated with a suspended handle state. - View Dependent Claims (4, 5, 6, 7)
-
-
8. A computing device comprising:
-
one or more processors;
at least one computer readable media;
one or more handle records resident on the media, each record having fields, one of the fields being configured to provide indicia of whether a handle is in a state other than an assigned state and an unassigned state;
computer-readable instructions on the computer-readable media which, when executed by the one or more processors, cause the one or more processors to utilize the one or more handle records to manage handle-associated resources. - View Dependent Claims (9)
-
-
10. A computing device comprising:
-
one or more processors;
at least one computer readable media;
a data structure embodied on the computer readable media, the data structure comprising;
a first portion that is associated with a pointer to a resource; and
a second portion that is associated with a suspended handle state;
computer-readable instructions on the computer-readable media which, when executed by the one or more processors, cause the one or more processors to utilize the data structure to manage resources. - View Dependent Claims (11, 12, 13, 14)
-
Specification