发明授权
- 专利标题: Lock-free barrier with dynamic updating of participant count
- 专利标题(中): 无障碍障碍与参与者数量的动态更新
-
申请号: US12492366申请日: 2009-06-26
-
公开(公告)号: US08924984B2公开(公告)日: 2014-12-30
- 发明人: Emad Omara , John Duffy
- 申请人: Emad Omara , John Duffy
- 申请人地址: US WA Redmond
- 专利权人: Microsoft Corporation
- 当前专利权人: Microsoft Corporation
- 当前专利权人地址: US WA Redmond
- 主分类号: G06F9/46
- IPC分类号: G06F9/46 ; G06F9/52
摘要:
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.
公开/授权文献
信息查询