检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:江立 陆志恩 JIANG Li;LU Zhien(Nanfang College Guangzhou,Guangzhou 510970,China)
机构地区:[1]广州南方学院,广东广州510970
出 处:《现代信息科技》2023年第18期125-128,共4页Modern Information Technology
基 金:拓扑材料中光学特性的研究(2022BQ013)。
摘 要:在Linux系统中两个或多个进程间通信,是实现计算机内部传递信息的机制,它们之间是同步的关系,多个协作进程间完成数据的共享、消息的交换。文章基于Ubuntu 12操作系统环境,通过共享内存通信的方式设计一种基于多进程的同步关系,它们共享内存的同步通信机制。文章详细描述了该机制的设计原理和实现方式,并采用内核文件shm.h实现了进程同步,通过内存片段共享机制减少多个进程之间的切换时间,实现了共享内存在多进程间的高效通信。In a Linux system,communication between two or more processes is a mechanism for transmitting information within a computer.The relationship among them is synchronous,and data sharing and message exchange is completed among multiple collaborative processes.This paper is based on the Ubuntu 12 operating system environment and designs a synchronization relationship based on multiple processes through shared memory communication.They share a synchronous communication mechanism in memory.This paper provides a detailed description of the design principle and implementation method of this mechanism,and uses the kernel file shm.h to achieve process synchronization.Through the memory fragment sharing mechanism,the switching time among multiple processes is reduced,achieving efficient communication of shared memory among multiple processes.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.119.110.206