Patents
US 7,213,244 B2#19903964 Most CitedExpiredUnited States (USPTO)Utility

Apparatus and method for distribution of work on a doubly linked list among processing threads

5Forward Citations (#19903964 Global)
0.3/yrCitation Velocity (#28010539 Global)
1.76Citation PageRank (#17826489 Global)
12Prior Art Cited
2Claims (1 Indep. · 1 Dep.)
0Drawings / Sheets

Abstract

An apparatus and method for distributing work on a doubly linked list to a plurality of worker threads are provided. With the apparatus and method, an initial thread obtains the list lock for the linked list and inserts a marker element at the beginning of the linked list. Elements in the linked list that are before the marker element in the linked list are considered work that has been assigned or work that has been completed. Elements of the linked list that are after the marker element in the linked list are work to be done. The initial thread spawns worker threads to perform the work on the linked list and passes the address of the marker element to each of the worker threads. Each worker thread then operates independently to perform work on the linked list based on the current position of the marker element in the linked list.

Interactive Citation Constellation Global Citation Ranking

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

Claims (2 — 1 Independent, 1 Dependent)

  1. Claim 1Independent Claim

    A method of modifying a doubly linked list that includes a plurality of elements, comprising: obtaining a list lock on the list which locks all of the plurality of elements; after obtaining the list lock, inserting a marker element into the doubly linked list, wherein the marker element becomes one of the plurality of elements of the doubly linked list; using the position of the marker element to identify ones of the plurality of elements for which work has been assigned; and moving the marker element through the doubly linked list as work is assigned to the plurality of elements.

  2. Claim 2Depends on #1

    The method of claim 1 , further comprising: wherein work has been assigned for all of the plurality of elements that are located in the list before the marker element and work has not been assigned for all of the plurality of elements that are located in the list after the marker

Technical Overview & Description

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

Non-Patent Literature (4)

  • Cormen, Thomas H; Leiserson, Charles E; Rivest, Ronald L; "Introduction to Algorithms", 1990 Massachusetts Institute of Technology, p. 204-211.
  • Gamma, Erich; Helm, Rihcard; Johnson, Ralph; Vlissides, John; "Design Patterns Elements of Reusable Object-Oriented Software", 1977 Addison-Wesley Publishing Company, p. 257-271.
  • Leutenegger; Vernon; "The Performance of Multiprogrammed Multiprocessor Scheduling Policies", p. 226-236, 1990 ACM.
  • Thapar; Delagi; Flynn; "Linked List Cache Coherence for Scalable Shared Memory Multiprocessors", p. 34-43. 1993 IEEE.