Multi-reader, multi-writer lock-free ring buffer
Abstract
A method for accessing cells of a ring buffer by one or more writers, wherein the one or more writers are prevented from simultaneously accessing a cell of the ring buffer. In addition, a method for accessing cells of a ring buffer by one or more readers, wherein the one or more readers are prevented from simultaneously accessing a cell of the ring buffer.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 15.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for accessing cells of a ring buffer by two or more writers, comprising: storing a current writer cell position value in each of a done writer index as a done writer index value and a reserved writer index as a reserved writer index value; storing a current reader cell position value in a done reader index as a done reader index value; for each of the two or more writers: copying the current writer cell position value to an old writer variable as an old writer variable value; assigning a trial next writer cell position value to a new writer variable as a new writer variable value; acc
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 15 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- Cheng, P., et al., "A Parallel, Real-Time Garbage Collector," PLDI 2001, Jun. 2001, Snowbird, Utah, USA.
- Demaine, E., et al., "Adaptive Set Intersections, Unions, and Differences", ACM Symposium, Jan. 9-11, 2000.
- Detlefs, D., et al., "A Theorem Prover for Program Checking," 2005 ACM 0004-5411/05/0500-0365. May 2005.
- Detlefs, David L., et al., "Lock-Free Reference Counting", SunMicrosystems, Inc., ACM Symposium, Aug. 26-28, 2001.
- Doherty, S., et al., "Bringing Practical Lock-Free Synchronization to 64-Bit Applications," PODC'04, Jul. 25-28, 2004, St. Johns, NFLD, Canada.