Invention Grant
- Patent Title: Reader-writer lock
- Patent Title (中): 读写器锁
-
Application No.: US14160675Application Date: 2014-01-22
-
Publication No.: US09329895B2Publication Date: 2016-05-03
- Inventor: Burkhard Steinmacher-Burow
- 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 Stosch Sabo; Keivan E Razavi
- Main IPC: G06F9/52
- IPC: G06F9/52 ; G06F9/50

Abstract:
A method and system for implementing a reader-writer lock having a write lock requested by a thread is disclosed. The reader-writer lock is structured to have counters and a flag. The counters use an atomic process to count read locks held or outstanding read lock requests. The flag identifies a counter and is configured to distinguish between counters. A read lock is prepared, acquired, and released. The atomic process is used and the flag or flagged counter is polled. A write lock is prepared, acquired, and released.
Public/Granted literature
- US20150205733A1 READER-WRITER LOCK Public/Granted day:2015-07-23
Information query