检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:李奇[1]
机构地区:[1]中国电子科技集团公司第五十四研究所,河北石家庄050002
出 处:《计算机与网络》2008年第14期33-34,45,共3页Computer & Network
摘 要:本文提出了在 UNIX 操作系统中,将共享内存和队列结合起来,采用共享内存来进行进程间的数据通信,用信号灯来同步共享内存区,应用共享内存队列来解决进程间通信数据量过大并且传递的频率过快的问题,文中介绍了进程间通信、共享内存区、信号灯以及队列的基本概念和在 UNIX 中的具体操作函数,详细说明了共享内存队列的具体实现算法。This paper proposes to combine shared memory and queue in UNIX operating system, and use shared memory to realize inter-process communication, use semaphore to synchronize shared memory area, and use shared memory queue to solve the problems of over data volume of inter-process communication and over fast transmission frequency. The paper introduces the basic concepts of inter-process communication, shared memory area, semaphore and queue and their specific operation functions in UNIX, and describes in detail the specific implementation algorithm of shared memory queue.
分 类 号:TP316.81[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.15