首页>
外国专利>
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.
展开▼