首页>
外国专利>
LOCK-FREE BARRIER WITH DYNAMIC UPDATING OF PARTICIPANT COUNT
LOCK-FREE BARRIER WITH DYNAMIC UPDATING OF PARTICIPANT COUNT
展开▼
机译:动态更新参与者人数的无锁障碍
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼