计算机与现代化 ›› 2010, Vol. 1 ›› Issue (6): 150-0152.doi: 10.3969/j.issn.1006-2475.2010.06.043

• 计算机控制 • 上一篇    下一篇

Linux信号在进程控制中的应用

屈志强,乔 静,胡珊珊   

  1. 济宁医学院信息工程学院,山东 济宁 276826
  • 收稿日期:2010-02-24 修回日期:1900-01-01 出版日期:2010-07-01 发布日期:2010-07-01

Application of Linux Signal in Process Control

QU Zhi-qiang, QIAO Jing, HU Shan-shan   

  1. School of Information Engineering, Jining Medical University, Jining 276826, China
  • Received:2010-02-24 Revised:1900-01-01 Online:2010-07-01 Published:2010-07-01

摘要: 信号是Linux系统中进程之间通信的一种有效方式,通过信号,进程间可以传递信息,但同时信号也能在进程的运行过程中起到一定的控制作用。本文介绍使用信号相关的系统调用,设计利用信号控制进程运行的3种模型,并举例加以分析。

关键词: 信号, 进程控制, Linux, 系统调用

Abstract: Signal is an effective way of communication between the processes in Linux system, through signal, information can be delivered between processes, and in the meanwhile signal can also control the operation of process to a certain extent. The paper introduces the system calls relating to applying signal, designs three models of controlling the operation of process by signal, and also analyses them with examples.

Key words: signal, process control, Linux, system call

中图分类号: