Invention Grant
- Patent Title: Tiered locking of resources
- Patent Title (中): 分层锁定资源
-
Application No.: US13834178Application Date: 2013-03-15
-
Publication No.: US09250977B2Publication Date: 2016-02-02
- Inventor: Stuart Z. Jacobs , David A. Larson
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agent James R. Nock; Owen J. Gamon
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F9/46 ; G06F9/52

Abstract:
In an embodiment, a lock command is received from a thread that specifies a resource. If tier status in a nodal lock indicates the nodal lock is currently owned, an identifier of the thread is added to a nodal waiters list, and if the thread's lock wait indicator indicates that the thread owns the nodal lock, then a successful completion status is returned for the lock command to the thread after waiting until a next tier wait indicator in the nodal lock indicates that any thread owns a global lock on the resource. If the tier status indicates no thread holds the nodal lock, the tier status is changed to indicate the nodal lock is owned, and if a global waiters and holder list is empty, an identifier of a node at which the thread executes is added to the global waiters and holder list.
Public/Granted literature
- US20140115215A1 TIERED LOCKING OF RESOURCES Public/Granted day:2014-04-24
Information query