Invention Grant
- Patent Title: Using a dual mode reader writer lock
- Patent Title (中): 使用双模式读写器锁
-
Application No.: US13302278Application Date: 2011-11-22
-
Publication No.: US08347045B2Publication Date: 2013-01-01
- Inventor: Bruce Mealey , James Bernard Moody
- Applicant: Bruce Mealey , James Bernard Moody
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Garg Law Firm, PLLC
- Agent Rakesh Garg; Libby Z. Toub
- Main IPC: G06F12/14
- IPC: G06F12/14

Abstract:
A method, system, and computer usable program product for using a dual mode reader writer lock. A contention condition is detected in the use of a lock in a data processing system, the lock being used for managing read and write access to a resource in the data processing system. A determination of the data structure used for implementing the lock is made. If the data structure is a data structure of a reader writer lock (RWL), the data structure is transitioned to a second data structure suitable for implementing the DML. A determination is made whether the DML has been expanded. If the DML is not expanded, the DML is expanded such that the data structure includes an original lock and a set of expanded locks. The original lock and each expanded lock in the set of expanded locks forms an element of the DML.
Public/Granted literature
- US20120066467A1 USING A DUAL MODE READER WRITER LOCK Public/Granted day:2012-03-15
Information query