Invention Application
US20160259663A1 System and Method for Implementing Reader-Writer Locks Using Hardware Transactional Memory
审中-公开
使用硬件事务内存实现读写器锁的系统和方法
- Patent Title: System and Method for Implementing Reader-Writer Locks Using Hardware Transactional Memory
- Patent Title (中): 使用硬件事务内存实现读写器锁的系统和方法
-
Application No.: US15156110Application Date: 2016-05-16
-
Publication No.: US20160259663A1Publication Date: 2016-09-08
- Inventor: David Dice , Yosef Lev , Yujie Liu , Victor M. Luchangco , Mark S. Moir
- Applicant: Oracle International Corporation
- Main IPC: G06F9/46
- IPC: G06F9/46 ; G06F9/50

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
- US09727369B2 System and method for implementing reader-writer locks using hardware transactional memory Public/Granted day:2017-08-08
Information query