Obstruction-free mechanism for atomic update of multiple non-contiguous locations in shared memory
Abstract
We present a technique for implementing obstruction-free atomic multi-target transactions that target special “transactionable” locations in shared memory. A programming interface for using operations based on these transactions can be structured in several ways, including as n-word compare-and-swap (NCAS) operations or as atomic sequences of single-word loads and stores (e.g., as transactional memory).
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 45 · Forward citations: 4.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method in a computer system, the method comprising: defining a plurality of transactionable locations, wherein individual ones of the transactionable locations encode respective values and are owned by no more than one transaction at any given point in a multithreaded computation; for a particular non-blocking multi-target transaction of the multithreaded computation targeting two or more of the plurality of transactionable locations, attempting to acquire ownership of each of the transactionable locations targeted thereby, wherein the ownership acquiring wrests ownership from another non-bl
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (4 of 4 total)
References Cited — Backward Prior Art (45)
Non-Patent Literature (5)
- "Non-Blocking Algorithms and Preemption-Safe Locking on Multiprogrammed Shared Memory Multiprocessors", Maged et al., Mar. 1997.
- Afek, Y., et al., "Disentangling Multi-Object Operations," Proceedings of the 16th Annual ACM Symposium on Principles of Distributed Computing, pp. 111-120, Aug. 1997. Santa Barbara, CA.
- Afek, Yehuda et al., "Long-Lived Renaming Made Adaptive", 18th Annual ACM Symposium on Principles of Distributed Computing, pp. 91-104, 1999.
- Afek, Yehuda, "Atomic Snapshots of Shared Memory," Journal of the ACM, vol. 40, No. 4, pp. 873-890, 1993.
- Afek, Yehuda, "Wait-Free Made Fast", 27th Annual ACM Symposium on Theory of Computing, pp. 538-547, 1995.