Lock-free barrier with dynamic updating of participant count using a lock-free technique
Abstract
A method of executing an algorithm in a parallel manner using a plurality of concurrent threads includes generating a lock-free barrier that includes a variable that stores both a total participants count and a current participants count. The total participants count indicates a total number of threads in the plurality of concurrent threads that are participating in a current phase of the algorithm, and the current participants count indicates a total number of threads in the plurality of concurrent threads that have completed the current phase. The barrier blocks the threads that have completed the current phase. The total participants count is dynamically updated during execution of the current phase of the algorithm. The generating, blocking, and dynamically updating are performed by at least one processor.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 36 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of executing an algorithm in a parallel manner using a plurality of concurrent threads, comprising: generating a lock-free barrier that includes an integer variable that is configured to be updated using a lock-free technique and that stores both a total participants count and a current participants count, the total participants count indicating a total number of threads in the plurality of concurrent threads that are participating in a current phase of the algorithm including concurrent threads that have completed the current phase, and the current participants count indicating a tot
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)
References Cited — Backward Prior Art (36)
Non-Patent Literature (5)
- Alexandrescu, Andrei., "Lock-Free Data Structures", retrieved at <<://erdani.org/publications/cuj-2004-10.pdf>>, Dec. 17, 2007, pp. 1-7.
- Dechev, et al., "Lock-free Dynamically Resizable Arrays", retrieved on Apr. 3, 2009 at <<://www.research.att.com/˜bs/lock-free-vector.pdf>>, pp. 12.
- Duffy, J., "Concurrent Programming on Windows", © 2009; pp. 650-655.
- Freudenthal, Eric, Efficient Synchronization Algorithm Using Fetch and Add on Multiple Bitfield Integers, 1988, IP.com, No. IPCOM000149391D, pp. 1-15.
- Managed World blog avaialble at ://geekswithblogs.net/jolson/Default.aspx >>; published Oct. 23, 2009; 9 Pages.