System and method for handling resource transaction requests
First Claim
1. A method of handling a lock request from a requesting transaction request (transaction B) for additional access to a resource, comprising:
- receiving a lock request for the additional access to the resource from the requesting transaction request (transaction B);
determining if a conflict exists between an access mode of the requesting transaction request (transaction B) and an access mode of all prior transaction requests (transaction A) with current access to the resource;
wherein if the conflict exists, determining if the requesting transaction request (transaction B) has been refused and is currently waiting for access to the resource;
wherein if the requesting transaction request (transaction B) is not waiting for access to the resource and is having current access to the resource, substantially concurrently with the prior transaction requests (transaction A), assigning an ignore indicator to the requesting transaction request (transaction B); and
wherein the ignore indicator allows a subsequent transaction request (transaction C), with an access mode that conflicts with the requesting transaction (transaction B), to be granted access to the resource, substantially concurrently with the prior transaction requests (transaction A) and the requesting transaction request (transaction B), if an access mode of the subsequent transaction requests (transaction C) does not conflict with the access mode of the prior transaction request (transition A), bypassing the conflicting requesting transaction request (transaction B).
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.
14 Citations
19 Claims
-
1. A method of handling a lock request from a requesting transaction request (transaction B) for additional access to a resource, comprising:
-
receiving a lock request for the additional access to the resource from the requesting transaction request (transaction B); determining if a conflict exists between an access mode of the requesting transaction request (transaction B) and an access mode of all prior transaction requests (transaction A) with current access to the resource; wherein if the conflict exists, determining if the requesting transaction request (transaction B) has been refused and is currently waiting for access to the resource; wherein if the requesting transaction request (transaction B) is not waiting for access to the resource and is having current access to the resource, substantially concurrently with the prior transaction requests (transaction A), assigning an ignore indicator to the requesting transaction request (transaction B); and wherein the ignore indicator allows a subsequent transaction request (transaction C), with an access mode that conflicts with the requesting transaction (transaction B), to be granted access to the resource, substantially concurrently with the prior transaction requests (transaction A) and the requesting transaction request (transaction B), if an access mode of the subsequent transaction requests (transaction C) does not conflict with the access mode of the prior transaction request (transition A), bypassing the conflicting requesting transaction request (transaction B). - View Dependent Claims (2, 3, 4, 5)
-
-
6. An apparatus for handling a lock request from a requesting transaction request (transaction B) for additional access to a resource, the apparatus comprising:
-
a lock manager for receiving the lock request for the additional access to the resource from the requesting transaction request (transaction B), and that compares an access mode of the requesting transaction request (transaction B) with an access mode of prior transaction requests (transaction A); the requester further determining if a conflict exists between the access mode of the requesting transaction request (transaction B) and the access mode of the prior transaction requests (transaction A) with current access to the resource; wherein if the conflict exists, the requester determining if the requesting transaction request (transaction B) has been refused and is currently waiting for access to the resource; wherein if the requesting transaction request (transaction B) is not waiting for access to the resource and is having current access to the resource, substantially concurrently with the prior transaction requests (transaction A), the requester assigning an ignore indicator to the requesting transaction request (transaction B); and wherein the ignore indicator allows a subsequent transaction request (transaction C), with an access mode that conflicts with the requesting transaction (transaction B), to be granted access to the resource, substantially concurrently with the prior transaction requests (transaction A) and the requesting transaction request (transaction B), if an access mode of the subsequent transaction requests (transaction C) does not conflict with the access mode of the prior transaction request (transaction A), bypassing the conflicting requesting transaction request (transaction B). - View Dependent Claims (7, 8, 9)
-
-
10. A computer program product having instruction codes for handling a lock request from a requesting transaction request (transaction B) for additional access to a resource comprising:
-
a first set of instruction codes for receiving a lock request for the additional access to the resource from the requesting transaction request (transaction B); a second set of instruction codes for determining if a conflict exists between an access mode of the requesting transaction request (transaction B) and an access mode of all prior transaction requests (transaction A) with current access to the resource; wherein if the conflict exists, the second set of instruction codes determines if the requesting transaction request (transaction B) has been refused and is currently waiting for access to the resource; wherein if the requesting transaction request (transaction B) is not waiting for access to the resource and is having current access to the resource, substantially concurrently with the prior transaction requests (transaction A), the second set of instruction codes assigns an ignore indicator to the requesting transaction request (transaction B); and wherein the ignore indicator allows a subsequent transaction request (transaction C), with an access mode that conflicts with the requesting transaction (transaction B), to be granted access to the resource, substantially concurrently with the prior transaction requests (transaction A) and the requesting transaction request (transaction B), if an access mode of the subsequent transaction request (transaction C) does not conflict with the access mode of the prior transaction requests (transaction A), bypassing the conflicting requesting transaction request (transaction B). - View Dependent Claims (11, 12, 13, 14)
-
-
15. A system for handling a lock request from a requesting transaction request (transaction B) for additional access to a resource, comprising:
-
means for receiving a lock request for the additional access to the resource from the requesting transaction request (transaction B); means for determining if a conflict exists between an access mode of the requesting transaction request (transaction B) and an access mode of all prior transaction requests (transaction A) with current access to the resource; means for determining if the requesting transaction requests (transaction B) has been refused and is currently waiting for access to the resource; means for assigning an ignore indicator to the requesting transaction request (transaction B), if the requesting transaction requests (transaction B) is not waiting for access to the resource and is having current access to the resource, substantially concurrently with the prior transaction requests (transaction A); and wherein the ignore indicator allows a subsequent transaction request (transaction C), with an access mode that conflicts with the requesting transaction (transaction B), to be granted access to the resource, substantially concurrently with the prior transaction requests (transaction A) and the requesting transaction request (transaction B), if an access mode of the subsequent transaction request (transaction C) does not conflict with the access mode of the prior transaction requests (transaction A), bypassing the conflicting requesting transaction request (transaction B). - View Dependent Claims (16, 17, 18, 19)
-
Specification