Invention Grant
US08973004B2 Transactional locking with read-write locks in transactional memory systems
有权
在事务性存储器系统中具有读写锁的事务锁定
- Patent Title: Transactional locking with read-write locks in transactional memory systems
- Patent Title (中): 在事务性存储器系统中具有读写锁的事务锁定
-
Application No.: US12492654Application Date: 2009-06-26
-
Publication No.: US08973004B2Publication Date: 2015-03-03
- Inventor: David Dice , Nir N. Shavit
- Applicant: David Dice , Nir N. Shavit
- Applicant Address: US CA Redwood City
- Assignee: Oracle America, Inc.
- Current Assignee: Oracle America, Inc.
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F13/00 ; G06F12/00 ; G06F12/14

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.
Public/Granted literature
- US20100333096A1 Transactional Locking with Read-Write Locks in Transactional Memory Systems Public/Granted day:2010-12-30
Information query