System and method for handling resource transaction requests
First Claim
1. A method of handling a lock request from a requesting transaction request for access to a resource executing at least one prior transaction request, comprising:
- receiving a lock request from the requesting transaction request;
determining if a conflict exists between an access mode of the requesting transaction request and an access mode of the prior transaction request;
wherein if the conflict exists, determining if the prior transaction request has been refused and is currently waiting for access to the resource;
wherein if the prior transaction request is not waiting for access to the resource, assigning an ignore indicator to the requesting transaction request; and
wherein the ignore indicator allows a subsequent transaction request to be granted access to the resource if an access mode of the subsequent transaction request does not conflict with the access mode of the prior transaction request.
5 Assignments
0 Petitions
Accused Products
Abstract
A system and method handle resource transaction requests. The system marks a waiting transaction request, having an access mode which is incompatible with the access mode of the executing transaction, with an ignore bit, so that a transaction request with an access mode compatible with the access mode of the executing transaction may receive a lock in order to access the resource. The transaction request is then marked with a bypass indicator such that when the executing transactions are finished accessing the resource, the waiting transaction request may be notified that it may have access to the resource. The system includes the ignore bit so that each transaction request that arrives after the ignore bit has been set, does not suffer from a long waiting time before being provided access to the resource
39 Citations
23 Claims
-
1. A method of handling a lock request from a requesting transaction request for access to a resource executing at least one prior transaction request, comprising:
-
receiving a lock request from the requesting transaction request;
determining if a conflict exists between an access mode of the requesting transaction request and an access mode of the prior transaction request;
wherein if the conflict exists, determining if the prior transaction request has been refused and is currently waiting for access to the resource;
wherein if the prior transaction request is not waiting for access to the resource, assigning an ignore indicator to the requesting transaction request; and
wherein the ignore indicator allows a subsequent transaction request to be granted access to the resource if an access mode of the subsequent transaction request does not conflict with the access mode of the prior transaction request. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An apparatus for handling a lock request from a requesting transaction request for access to a resource executing at least one prior transaction request comprising:
-
a lock manager that receives the lock request from the requesting transaction request, and that compares an access mode of the requesting transaction request with an access mode of the prior transaction request; and
a requester that assigns an ignore indicator to the requesting transaction request if a conflict exists between the access mode of the requesting transaction request and the access mode of the prior transaction request;
wherein if the prior transaction request is not waiting for access to the resource, the requester further assigns an ignore indicator to the requesting transaction request; and
wherein the ignore indicator allows a subsequent transaction request to be granted access to the resource if an access mode of the subsequent transaction request does not conflict with the access mode of the prior transaction request. - View Dependent Claims (8, 9, 10)
-
-
11. A computer program product having instruction codes for handling a lock request from a requesting transaction request for access to a resource executing at least one prior transaction request, comprising:
-
a first set of instruction codes for receiving a lock request from the requesting transaction request;
a second set of instruction codes for determining if a conflict exists between an access mode of the requesting transaction request and an access mode of the prior transaction request;
wherein if the conflict exists, the second set of instruction codes determines if the prior transaction request has been refused and is currently waiting for access to the resource;
wherein if the prior transaction request is not waiting for access to the resource, the second set of instruction codes assigns an ignore indicator to the requesting transaction request; and
wherein the ignore indicator allows a subsequent transaction request to be granted access to the resource if an access mode of the subsequent transaction request does not conflict with the access mode of the prior transaction request. - View Dependent Claims (12, 13, 14, 15, 16)
-
-
17. A system for handling a lock request from a requesting transaction request for access to a resource executing at least one prior transaction request, comprising:
-
means for receiving a lock request from the requesting transaction request;
means for determining if a conflict exists between an access mode of the requesting transaction request and an access mode of the prior transaction request;
means for determining if the prior transaction request has been refused and is currently waiting for access to the resource, if a conflict is determined to exist,;
means for assigning an ignore indicator to the requesting transaction request, if the prior transaction request is not waiting for access to the resource; and
wherein the ignore indicator allows a subsequent transaction request to be granted access to the resource if an access mode of the subsequent transaction request does not conflict with the access mode of the prior transaction request. - View Dependent Claims (18, 19, 20, 21, 22)
-
-
23. A method of handling a lock request from a requesting transaction request for access to a resource executing at least one prior transaction request, comprising:
-
receiving a lock request from the requesting transaction request;
determining if a conflict exists between an access mode of the requesting transaction request and an access mode of the prior transaction request;
wherein if the conflict exists, assigning an ignore indicator to the requesting transaction request; and
wherein the ignore indicator allows a subsequent transaction request to be granted access to the resource if an access mode of the subsequent transaction request does not conflict with the access mode of the prior transaction request.
-
Specification