摘要
对于多用户、多任务的操作系统,进程间的通信(Inter-ProcessCommunication,IPC)是非常重要的,它是使整个系统得以有条不紊工作的基础。Linux操作系统提供了多种IPC机制,如信号、管道、信号量、消息队列、共享内存和套接字等。其中信号是系统必备的一种IPC机制,是内核不可分割的一部分,而其它的几种机制则是可选的。因此,深入分析和研究Linux系统的信号通信机制,将会给应用系统的开发工作提供很大帮助。论文从RedhatLinux9.0(内核2.4.20-8)出发,着重从数据结构入手,结合整个信号通信的过程,对几个关键的系统函数进行了剖析并给出了应用实例。
The Inter-Process Communication(IPC)is very important to the operating system of multiuser and multitask.It is the base to let the system work well.Linux provides several IPC mechanism including signal,pipe,semaphore,message-passing and shared-memory etc.The signal is the indivisible part of the kernel and it is necessary to the Linux,but others are optional.So it is beneficial for us to know and master it.This paper is based on the Redhat Linux9.0kernel2.4.20-8.It begins with the data struct and refers to the whole course of communication to analyze the related pivotal function.And then the authors illustrate its application.
出处
《计算机工程与应用》
CSCD
北大核心
2005年第3期108-110,115,共4页
Computer Engineering and Applications
基金
国家重点新产品计划项目(编号:2002ED782017)资助