Invention Grant
- Patent Title: System and method for implementing reader-writer locks using hardware transactional memory
- Patent Title (中): 使用硬件事务内存实现读写器锁的系统和方法
-
Application No.: US13784965Application Date: 2013-03-05
-
Publication No.: US09342380B2Publication Date: 2016-05-17
- Inventor: David Dice , Yosef Lev , Yujie Liu , Victor M. Luchangco , Mark S. Moir
- Applicant: Oracle International Corporation
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F9/52 ; G06F9/46

Abstract:
Transactional reader-writer locks may leverage available hardware transactional memory (HTM) to simplify the procedures of the reader-writer lock algorithm and to eliminate a requirement for type stable memory An HTM-based reader-writer lock may include an ordered list of client-provided nodes, each of which represents a thread that holds (or desires to acquire) the lock, and a tail pointer. The locking and unlocking procedures invoked by readers and writers may access the tail pointer or particular ones of the nodes in the list using various combinations of transactions and non-transactional accesses to insert nodes into the list or to remove nodes from the list. A reader or writer that owns a node at the head of the list (or a reader whose node is preceded in the list only by other readers' nodes) may access a critical section of code or shared resource.
Public/Granted literature
- US20140258645A1 System and Method for Implementing Reader-Writer Locks Using Hardware Transactional Memory Public/Granted day:2014-09-11
Information query