Back to results
US 2016/0077891 A1Published application
High performance locks
AssigneeInternational Business Machines Corporation
InventorKirk J. Krauss
Life of this patent
Estimating the term…
Abstract
Systems and methods of enhancing computing performance may provide for detecting a request to acquire a lock associated with a shared resource in a multi-threaded execution environment. A determination may be made as to whether to grant the request based on a context-based lock condition. In one example, the context-based lock condition includes a lock redundancy component and an execution context component.
Claims18
A computer program product comprising:
- a computer readable storage medium;
- and
- computer usable code stored on the computer readable storage medium, where, if executed by a processor, the computer usable code causes a computer to:
- detect a request to acquire a lock associated with a shared resource in a multi-threaded execution environment including a first thread and a second thread;
- deny the request if a lock redundancy component that is to include the lock and at least one other lock is satisfied and an execution context component that is to include a function call chain to be associated with the lock and the at least one other lock is satisfied to permit access to the shared resource without acquiring the lock for the shared resource;
- and
- grant the request if one or more of the lock redundancy component is not satisfied and the execution context component is not satisfied to allow access to the shared resource when the lock is acquired based on the grant of the request.
4 more elements
A method comprising:
- detecting a request to acquire a lock associated with a shared resource in a multi-threaded execution environment including a first thread and a second thread;
- denying the request if a lock redundancy component that includes the lock and at least one other lock is satisfied and an execution context component that includes a function call chain associated with the lock and the at least one other lock is satisfied to permit access to the shared resource without acquiring the lock for the shared resource;
- and
- granting the request if one or more of the lock redundancy component is not satisfied and the execution context component is not satisfied to allow access to the shared resource when the lock is acquired based on the grant of the request.
1 more element
Dependencies are inferred from the claim text.