Patents
US 7,779,165 B2#33969562 Most CitedActiveUnited States (USPTO)Utility

Scalable method for producer and consumer elimination

3Forward Citations (#33969562 Global)
0.2/yrCitation Velocity (#34966870 Global)
0.97Citation PageRank (#43200397 Global)
29Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

Producers and consumer processes may synchronize and transfer data using a shared data structure. After locating a potential transfer location that indicates an EMPTY status, a producer may store data to be transferred in the transfer location. A producer may use a compare-and-swap (CAS) operation to store the transfer data to the transfer location. A consumer may subsequently read the transfer data from the transfer location and store, such as by using a CAS operation, a DONE status indicator in the transfer location. The producer may notice the DONE indication and may then set the status location back to EMPTY to indicate that the location is available for future transfers, by the same or a different producer. The producer may also monitor the transfer location and time out if no consumer has picked up the transfer data.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 3.

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method, comprising: a producer process atomically storing a data value to a transfer location; the producer process setting a status indicator for the transfer location to indicate a non-empty status; wherein the producer process atomically stores the data value to the transfer location and sets the status indicator for the transfer location as a single atomic operation; wherein the non-empty status of the status indicator indicates to a consumer process that the stored data value is ready for reading by the consumer process from the transfer location; and the producer p

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising: upon reading the stored data value from t

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (29)

PatentTitleYearCitations
US 2,889,262 AProduction of higher quality lubricating oil stocks19596
US 4,584,640 AMethod and apparatus for a compare and swap instruction198678
US 5,224,215 AMessage queue processing among cooperative processors having significant speed differences199387
US 5,319,778 ASystem for manipulating elements in linked lists sharing one or more common elements using head nodes containing common offsets for pointers of the linked lists1994107
US 5,471,583 AFIFO buffer having write counter for generating empty flag value to be compared with read pointer value to indicate the buffer is full199552
US 5,586,321 ADiffracting token router and applications thereof19966
US 5,787,480 ALock-up free data sharing199873
US 5,884,099 AControl circuit for a buffer memory to transfer data between systems operating at different speeds199994
US 5,937,199 AUser programmable interrupt mask with timeout for enhanced resource locking efficiency1999151
US 5,941,964 ABridge buffer management by bridge interception of synchronization events199957
US 6,356,938 B1System and method for transmission of information packets between provider and consumer processors20028
US 6,360,220 B1Lock-free methods and systems for accessing and storing information in an indexed computer data structure having modifiable entries2002225
US 6,360,219 B1Object queues with concurrent updating200288
US 6,581,063 B1Method and apparatus for maintaining a linked list2003136
US 6,615,216 B1Lock free data structure maintenance200357
US 2003202383 A1Memory system—39
US 6,651,146 B1Method and apparatus for managing access contention to a linear list without the use of locks200394
US 2003217138 A1Data communication method—26
US 6,826,757 B2Lock-free implementation of concurrent shared object with dynamic node allocation and distinguishing pointer value2004139
US 2004250254 A1Virtual processor methods and apparatus with unified event notification and consumer-producer memory operations—23
US 2005080948 A1Bridges performing remote reads and writes as uncacheable coherent—19
US 6,889,262 B1Direct transaction mode for peripheral devices200513
US 6,904,456 B2Lock-free cache management200511
US 2005185493 A1Data transfer method and system—22
US 2005246186 A1Prioritizing producers and consumers of an enterprise messaging system—66
US 2005283566 A1Self testing and securing ram system and method—85
US 6,996,640 B1Method and system for asynchronously transferring data200619

Non-Patent Literature (3)

  • "A Scalable Lock-free Stack Algorithm"; Danny Hendler, Nir Shavit, Lena Yerushalmi; ACM Symposium on Parallelism in Architectures and Algorithms, 2004; 10 pages.
  • "Elimination Trees and the Construction of Pools and Stacks; Preliminary Version"; Nir Shavit, Dan Touitou; Proceedings of the Seventh Annual ACM Symposium on Parallel Algorithms and Architectures SPAA '95; 10 pages.
  • "Simple, Fast and Practical Non-blocking and Blocking Concurrent Queue Algorithms"; Maged M. Michael and Michael L. Scott; Proceedings of the 15th Annual ACM Symposium on Principles of Distributed Computing; pp. 219-228 (1996).