Patents
US 8,973,004 B2#41089985 Most CitedActiveUnited States (USPTO)Utility

Transactional locking with read-write locks in transactional memory systems

2Forward Citations (#41089985 Global)
0.2/yrCitation Velocity (#35668598 Global)
0.99Citation PageRank (#42485734 Global)
21Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A system and method for transactional memory using read-write locks is disclosed. Each of a plurality of shared memory areas is associated with a respective read-write lock, which includes a read-lock portion indicating whether any thread has a read-lock for read-only access to the memory area and a write-lock portion indicating whether any thread has a write-lock for write access to the memory area. A thread executing a group of memory access operations as an atomic transaction acquires the proper read or write permissions before performing a memory operation. To perform a read access, the thread attempts to obtain the corresponding read-lock and succeeds if no other thread holds a write-lock for the memory area. To perform a write-access, the thread attempts to obtain the corresponding write-lock and succeeds if no other thread holds a write-lock or read-lock for the memory area.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method, comprising: associating each of a plurality of shared memory areas with a respective read-write lock, wherein for each shared memory area the read-write lock includes a read-lock portion indicating whether any thread has a read-lock for read-only access to the associated shared memory area and a write-lock portion indicating whether any thread has a write-lock for write access to the associated shared memory area, wherein for each respective read-write lock, the read-lock portion comprises a plurality of slots, wherein for each slot: a value of the slot is modifi

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (21)

PatentTitleYearCitations
US 5,937,187 AMethod and apparatus for execution and preemption control of computer process entities199955
US 6,026,474 AShared client-side web caching using globally addressable memory2000485
US 6,523,078 B1Distributed locking system and method for a clustered system having a distributed system for storing cluster configuration information200333
US 6,633,964 B2Method and system using a virtual lock for boot block flash200326
US 6,799,236 B1Methods and apparatus for executing code while avoiding interference200466
US 2006031844 A1Techniques for accessing a shared resource using an improved synchronization mechanism—48
US 2006168585 A1Computer-implemented method, system and program product for establishing multiple read-only locks on a shared data object—31
US 7,173,062 B2Method for the improvement of skin wrinkles using retinyl retinoate20079
US 2007233970 A1Array comparison and swap operations—18
US 2007239915 A1Increasing functionality of a reader-writer lock—76
US 2008162881 A1Mechanism for irrevocable transactions—43
US 2008250432 A1Object-oriented operating system—3
US 2008256074 A1Efficient implicit privatization of transactional memory—68
US 7,512,950 B1Barrier synchronization object for multi-threaded applications200983
US 7,669,015 B2Methods and apparatus to implement parallel transactions201025
US 2010162247 A1Methods and systems for transactional nested parallelism—95
US 2010174840 A1Prioritization for conflict arbitration in transactional memory management—43
US 2010241774 A1Scalable reader-writer lock—25
US 2010275209 A1Reader/writer lock with reduced cache contention—69
US 2010332770 A1Concurrency Control Using Slotted Read-Write Locks—41
US 8,145,817 B2Reader/writer lock with reduced cache contention201221

Non-Patent Literature (5)

  • "Class ReentrantReadWriteLock," Java2 Platform, Standard Ed. 5.0, Sun Microsystems, Inc., found at http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html.
  • "Class ReentrantReadWriteLock," Java2 Platform, Standard Ed. 5.0, Sun Microsystems, Inc., found at http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/ReentrantReadWriteLock.html. Retrieved on Jun. 26, 2009.
  • "Interface ReadWriteLock," Java2 Platform, Standard Ed. 5.0, 2004 Sun Microsystems, Inc., found at http://java.sun.com/j2se/1.5.0/docs/api/java/util/concurrent/locks/ReadWriteLock.html.
  • "Solaris Read-Write locks", 2008 Sun Microsystems, Inc.
  • Adam Welc, et al., "Irrevocable Transactions and their Applications," SPAA'08, Jun. 2008, Munich, Germany. Copyright 2008 ACM.