Thread based lock manager
First Claim
Patent Images
1. A method, comprising:
- initializing a lock manager;
sending a request from a thread with respect to a lock associated with a shared resource;
determining the request type;
processing the request based on the request type; and
returning a reply to the thread based on the outcome of the processing.
1 Assignment
0 Petitions
Accused Products
Abstract
An arrangement is provided for thread based lock management. A lock manager is first initialized. A thread sends a request with respect to a lock associated with a shared resource to the thread based lock manager. Upon receiving the request, the lock manager determines the request type and associated lock operation requested. The request is then accordingly processed based on the request type. A reply is generated based on the outcome of the processing and returned to the thread.
85 Citations
29 Claims
-
1. A method, comprising:
-
initializing a lock manager;
sending a request from a thread with respect to a lock associated with a shared resource;
determining the request type;
processing the request based on the request type; and
returning a reply to the thread based on the outcome of the processing. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A system, comprising:
-
a plurality of threads;
at least one shared resource that can be shared among the plurality of threads; and
a lock management mechanism for managing at least one lock associated with the at least one shared resource to facilitate the at least one thread to share the resources. - View Dependent Claims (13, 14, 15)
-
-
16. A lock management mechanism, comprising:
-
a request receiver for receiving a request from a thread with respect to a lock;
a request processing mechanism for processing the request to determine the request type based on the request received from the thread;
a lock manager for performing an operation with respect to the lock, the operation being determined based on the request type; and
a lock manager initialization mechanism for initializing the lock manager before the request is received. - View Dependent Claims (17, 18)
-
-
19. An article comprising a storage medium having stored thereon instructions that, when executed by a machine, result in the following:
-
initializing a lock manager;
sending a request from a thread with respect to a lock associated with a shared resource;
determining the request type;
processing the request based on the request type; and
returning a reply to the thread based on the outcome of the processing. - View Dependent Claims (20, 21, 22, 23, 24, 25, 26, 27, 28, 29)
-
Specification