<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<!-- saved from url=(0066)http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html -->
<HTML lang=zh-CN xml:lang="zh-CN"
xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>Linux环境进程间通信(二): 信号(上)</TITLE>
<META http-equiv=Content-Type content="text/html; charset=UTF-8"><!-- s-header-meta for china -->
<META http-equiv=PICS-Label
content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))'><LINK
href="http://purl.org/DC/elements/1.0/" rel=schema.DC><LINK
href="http://www.ibm.com/favicon.ico" rel="SHORTCUT ICON">
<META content=dw@cn.ibm.com name=Owner>
<META scheme=rfc1766 content=zh-CN name=DC.Language>
<META content=cn name=IBM.Country>
<META content=Public name=Security><!-- 5.8 0421 egd: Added IBM.Special.Purpose meta tag and the meta tag to suppress the WI login in the masthead -->
<META content=SP001 name=IBM.SpecialPurpose>
<META content=sid=109,100 name=IBM.PageAttributes>
<META
content=linux信号机制远远比想象的复杂,本文力争用最短的篇幅,对该机制做了深入细致的分析。读者可以先读一下信号应用实例(在信号(下)中),这样可以对信号发送直到相应的处理函数执行完毕这一过程有个大致的印象。本文尽量给出了较新函数的应用实例,着重说明这些的功能。
name=Abstract>
<META
content="linux信号机制远远比想象的复杂,本文力争用最短的篇幅,对该机制做了深入细致的分析。读者可以先读一下信号应用实例(在信号(下)中),这样可以对信号发送直到相应的处理函数执行完毕这一过程有个大致的印象。本文尽量给出了较新函数的应用实例,着重说明这些的功能。f "
name=Description>
<META
content="Linux, process, communication, IPC, 信号, Unix, Linux IPC, 通信, 郑彦兴, tttlca"
name=Keywords>
<META scheme=iso8601 content=2003-01-01 name=DC.Date>
<META scheme=IBM_ContentClassTaxonomy content=CT316 name=DC.Type>
<META scheme=IBM_SubjectTaxonomy content="" name=DC.Subject>
<META content="Copyright (c) 2003 by IBM Corporation" name=DC.Rights>
<META content=index,follow name=Robots>
<META scheme=W3CDTF content=2003-01-01 name=IBM.Effective>
<META content=17012007zoucl@cn.ibm.com name="Last update"><!-- STYLESHEETS/SCRIPTS --><!-- for tables --><LINK
media=screen,print href="Linux环境进程间通信(二) 信号(上).files/table.css" type=text/css
rel=stylesheet><!-- end for tables -->
<SCRIPT language=JavaScript src="Linux环境进程间通信(二) 信号(上).files/dwcss14.js"
type=text/javascript></SCRIPT>
<LINK href="Linux环境进程间通信(二) 信号(上).files/main.css" type=text/css
rel=stylesheet><LINK media=all href="Linux环境进程间通信(二) 信号(上).files/screen.css"
type=text/css rel=stylesheet><LINK media=print
href="Linux环境进程间通信(二) 信号(上).files/print.css" type=text/css rel=stylesheet>
<SCRIPT language=JavaScript src="Linux环境进程间通信(二) 信号(上).files/detection.js"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="Linux环境进程间通信(二) 信号(上).files/dropdown.js"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="Linux环境进程间通信(二) 信号(上).files/grabtitle.js"
type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="Linux环境进程间通信(二) 信号(上).files/emailfriend2.js"
type=text/javascript></SCRIPT>
<!--START RESERVED FOR FUTURE USE INCLUDE FILES-->
<SCRIPT language=javascript src="Linux环境进程间通信(二) 信号(上).files/ajax1.js"
type=text/javascript></SCRIPT>
<SCRIPT language=javascript src="Linux环境进程间通信(二) 信号(上).files/searchcount.js"
type=text/javascript></SCRIPT>
<!--END RESERVED FOR FUTURE USE INCLUDE FILES-->
<SCRIPT language=JavaScript type=text/javascript>var emailAbstract = "linux信号机制远远比想象的复杂,本文力争用最短的篇幅,对该机制做了深入细致的分析。读者可以先读一下信号应用实例(在信号(下)中),这样可以对信号发送直到相应的处理函数执行完毕这一过程有个大致的印象。本文尽量给出了较新函数的应用实例,着重说明这些的功能。"; </SCRIPT>
<META content="MSHTML 6.00.2900.3199" name=GENERATOR></HEAD>
<BODY><!--MASTHEAD_BEGIN-->
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD class=bbg width=110><A href="http://www.ibm.com/cn/"><IMG height=52
alt=IBM® src="Linux环境进程间通信(二) 信号(上).files/ibm-logo.gif" width=110
border=0></A></TD>
<TD class=bbg><IMG height=1 alt="" src="Linux环境进程间通信(二) 信号(上).files/c.gif"
width=1 border=0></TD>
<TD class=mbbg align=right width=650>
<TABLE cellSpacing=0 cellPadding=0 align=right border=0>
<TBODY>
<TR class=cty-tou>
<TD class=upper-masthead-corner width=17 rowSpan=2><A
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#main"><IMG
height=1 alt=跳转到主要内容 src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=1
border=0></A></TD>
<TD align=left>
<TABLE cellSpacing=0 cellPadding=0 align=left border=0>
<TBODY>
<TR>
<TD><SPAN class=spacer> </SPAN><B
class=country>中国</B><SPAN class=spacer> [</SPAN><A
class=ur-link
href="http://www.ibm.com/developerworks/cn/country/">选择</A><SPAN
class=spacer>]</SPAN></TD>
<TD class=upper-masthead-divider
width=29> </TD>
<TD align=left><A class=ur-link
href="http://www.ibm.com/legal/cn/">使用条款</A></TD></TR></TBODY></TABLE></TD>
<TD width=40> </TD></TR>
<TR>
<TD class=cty-tou-border colSpan=2 height=1><IMG height=1 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=1></TD></TR>
<TR>
<TD colSpan=3><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=1></TD></TR>
<TR>
<TD> </TD>
<TD align=middle colSpan=2>
<FORM id=form1 name=form1
action=http://www-128.ibm.com/developerworks/search/searchResults.jsp
method=get><INPUT type=hidden value=1 name=searchType><INPUT
type=hidden value=dWChina name=searchSite><INPUT type=hidden
value=zh name=pageLang><INPUT type=hidden value=UTF8
name=langEncoding>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD width=1><IMG height=1 alt="Select a scope:"
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=1></TD>
<TD align=right><LABEL for=sq><SELECT class=input-scope id=sq
name=searchScope><OPTION value=dW selected>dW
全部内容</OPTION><OPTION
value=dW>-----------------</OPTION><OPTION
value=aixunix> AIX and UNIX</OPTION><OPTION
value=dmdd> Information
management</OPT