Concurrent insertion of elements into data structures
Abstract
A method of adding an element to a data structure may include atomically associating the element with the data structure if the element is not associated with the data structure. The element may be prepared for insertion into a location in the data structure. The method may also include atomically inserting the element into the location in the data structure if another element has not been inserted into the location.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 1.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A tangible non-transitory machine readable medium having stored thereon data which when accessed by a machine causes the machine to perform a method, the method comprising: during concurrent execution of a first and second thread, determining via the first thread whether an existing data element is not a member of a data structure; and performing an atomic store operation to add the data element to the data structure via the first thread only if the data element is not already a member of the data structure, otherwise performing a next processing task via the first thread; wherein said determi
- Claim 2Depends on #1
The tangible non-transitory machine readable medium of claim 1 , the method further comprising: performing a second atomic store op
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2014108448 A1 | Multi-sensor velocity dependent context aware voice recognition and summarization | — | 8 |
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- Fober, Dominique et al., "Lock-Free Techniques for Concurrent Access to Shared Objects", Actes des Journées d'Informatique Musicale JIM2002, Marseille, France (May 2002).
- Huang, Hai et al., "Improving Wait-Free Algorithms for Interprocess Communication in Embedded Real-Time Systems", Real-Time Computing Laboratory, Department of Electrical Engineering and Computer Science, The University of Michigan, Ann Arbor, MI (2002).
- Michael, Maged M., "Safe Memory Reclamation for Dynamic Lock-Free Objects Using Atomic Reads and Writes", Proceedings of the 21st Annual ACM Symposium on Principles of Distributed Computing, Monterey, California (Jul. 2002).
- V. Luchangco et al., "Nonblocking k-compare-single-swap". In Proceedings of the 15th Annual ACM Symposium on Parallel Architecures and Algorithms,San Diego, California, 2003, 10 Pages.
- Valois, John D., "Implementing Lock-Free Queues", Proceedings of the Seventh International Conference on Parallel and Distributed Computing Systems, Las Vegas, Nevada (Oct. 1994).