在UNIX中用共享内存队列实现进程间通信  被引量:1

Realization of Inter-Process Communication by Shared Memory Queue in UNIX

在线阅读下载全文

作  者:李奇[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.

关 键 词:UNIX 共享内存 队列 

分 类 号:TP316.81[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象