Lock-free barrier with dynamic updating of participant count
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: 19 · Forward citations: 2.
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 a variable that is configured to be updated using a lock-free technique and that stores a total participants count, a current participants count, and a flag, 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, the current participants count indicating a total number of threads in the plurality of concurrent threads that have comple
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (19)
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 at .research.att.com/~bs/lock-free vector.pdf>>, pp. 12.
- Dechev, et al., "Lock-free Dynamically Resizable Arrays", retrieved at .research.att.com/˜bs/lock-free vector.pdf>>, pp. 12.
- Duffy, J., "Concurrent Programming on Windows", © 2009; pp. 650-655.
- Managed World blog avaialble at ://geekswithblogs.net/jolson/Defaultaspx >>; published Oct. 23, 2009; 9 Pages.