首页> 外国专利> TASK SYNCHRONIZATION METHOD, DEVICE, AND SYSTEM FOR DISTRIBUTED SHARED MEMORY

TASK SYNCHRONIZATION METHOD, DEVICE, AND SYSTEM FOR DISTRIBUTED SHARED MEMORY

机译:分布式共享内存的任务同步方法,装置和系统

摘要

Embodiments of the present invention relate to the field of distributed shared memory, and provide a task synchronization method, device, and system for distributed shared memory, aimed at simplifying program design and improving processing performance. The method comprises: creating a memory space snapshot of a first task and a synchronization observation area of a second task, the synchronization observation area of the second task comprising a memory address of a synchronization variable of the second task, and the synchronization variable being a parameter necessary for synchronizing the task to be synchronized; allocating the first task to a first computing node for execution; updating the memory space snapshot of the first task and a corresponding memory space after the execution of the first task is finished; if the synchronization variable of the second task is updated by the first task, enabling the second task to acquire the synchronization variable of the second task according to the memory address of the synchronization variable of the second task, and allocating the second task to a second computing node.
机译:本发明实施例涉及分布式共享存储器领域,并提供了一种用于分布式共享存储器的任务同步方法,装置及系统,旨在简化程序设计,提高处理性能。该方法包括:创建第一任务的存储空间快照和第二任务的同步观察区域,第二任务的同步观察区域包括第二任务的同步变量的存储地址,并且该同步变量为同步要同步的任务所需的参数;将第一任务分配给第一计算节点执行;在完成第一任务的执行后,更新第一任务的存储空间快照和对应的存储空间;如果第一任务更新了第二任务的同步变量,则使第二任务能够根据第二任务的同步变量的存储地址获取第二任务的同步变量,并将第二任务分配给第二任务。计算节点。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号