发明名称 Suspension and reinstatement of reference handles
摘要 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.
申请公布号 US7237022(B1) 申请公布日期 2007.06.26
申请号 US20000608341 申请日期 2000.06.29
申请人 MICROSOFT CORPORATION 发明人 DOUCEUR JOHN R.;BERNET YORAM
分类号 G06F15/16;G06F9/44;G06F15/173 主分类号 G06F15/16
代理机构 代理人
主权项
地址