Increasing functionality of a reader-writer lock
Abstract
In one embodiment, the present invention includes a method for accessing a shared memory associated with a reader-writer lock according to a first concurrency mode, dynamically changing from the first concurrency mode to a second concurrency mode, and accessing the shared memory according to the second concurrency mode. In this way, concurrency modes can be adaptively changed based on system conditions. Other embodiments are described and claimed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 33 · Forward citations: 17.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising: accessing a shared memory associated with a reader-writer lock according to a first concurrency mode; maintaining a count of a number of accesses according to the first concurrency mode that abort, wherein the count is associated with a group of reader-writer locks including the reader-writer lock, the group corresponding to reader-writer locks accessed by a first thread of a plurality of threads; dynamically changing from the first concurrency mode to a second concurrency mode based on a comparison between the count and a threshold, wherein the first concurrency mode comp
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 17 total)
References Cited — Backward Prior Art (33)
Non-Patent Literature (5)
- "NA9109445: Sixteen-bit Operating System Fast Safe RAM Semaphore Compatibility in an Intel 80386 Paged Environment", Sep. 1, 1991, IBM, IBM Technical Disclosure Bulletin, vol. 34, Iss. 4A, pp. 445-447.
- "NB9402399: OS/2 System Semaphore Limit Workaround", Feb. 1, 1994, IBM, IBM Technical Disclosure Bulletin, vol. 37, Iss. 2B, pp. 399-406.
- Robert Ennals, "Software Transactional Memory Should Not Be Obstruction-Free", Nov. 2005, pp. 1-10.
- Tei-Wei Kuo; Ming-Chung Liang; LihChyun Shu; , "Abort-oriented concurrency control for real-time databases," Computers, IEEE Transactions on , vol. 50, No. 7, pp. 660-673, Jul. 2001.
- U.S. Appl. No. 11/304,509, filed Dec. 14, 2005, entitled "Lock Elision With Transactional Memory" by Ali-Reza Adl-Tabatabai et al.