首页> 外国专利> Lock-free barrier with dynamic updating of participant count using a lock-free technique

Lock-free barrier with dynamic updating of participant count using a lock-free technique

机译:使用无锁技术动态更新参与者人数的无锁障碍

摘要

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.
机译:一种使用多个并发线程以并行方式执行算法的方法,包括生成无锁屏障,该无锁屏障包括存储总参与者计数和当前参与者计数的变量。总参与者计数指示参与算法当前阶段的多个并发线程中的线程总数,当前参与者计数指示已完成当前阶段的多个并发线程中的线程总数。屏障会阻塞已完成当前阶段的线程。在算法的当前阶段执行期间,动态更新参与者总数。生成,阻止和动态更新由至少一个处理器执行。

著录项

  • 公开/公告号US9952912B2

    专利类型

  • 公开/公告日2018-04-24

    原文格式PDF

  • 申请/专利权人 MICROSOFT TECHNOLOGY LICENSING LLC;

    申请/专利号US201414586075

  • 发明设计人 EMAD OMARA;JOHN DUFFY;

    申请日2014-12-30

  • 分类号G06F9/52;

  • 国家 US

  • 入库时间 2022-08-21 12:57:52

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号