Invention Grant
- Patent Title: Reader-writer lock
-
Application No.: US15041115Application Date: 2016-02-11
-
Publication No.: US09934077B2Publication Date: 2018-04-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
- 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
- US20160162341A1 READER-WRITER LOCK Public/Granted day:2016-06-09
Information query