📄 linux环境进程间通信(二) 信号(上).htm
字号:
<TD><A class=masthead-mainlink
href="http://www.ibm.com/support/cn/">支持与下载</A></TD>
<TD class=masthead-divider
width=27> </TD>
<TD><A class=masthead-mainlink
href="http://www.ibm.com/account/cn/">个性化服务</A></TD>
<TD><SPAN
class=spacer> </SPAN></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><!--
<script src="//www.ibm.com/common/v14/pmh.js" language="JavaScript" type="text/javascript"></script>
--><!-- end masthead dw liquid --><!--MASTHEAD_END--><!-- CMA ID for this content is: 22049 -->
<TABLE id=v14-body-table cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top><!--LEFTNAV_BEGIN-->
<TD id=navigation width=150>
<TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD class=left-nav-spacer><A class=left-nav-overview
href="http://www.ibm.com/developerworks/cn/"> </A></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD class=left-nav-overview colSpan=2><A class=left-nav-overview
href="http://www.ibm.com/developerworks/cn/">developerWorks<BR>中国</A></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD class=left-nav-highlight colSpan=2><A class=left-nav
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#">本文内容包括:</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#1">一、信号及信号来源</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#2">二、信号的种类</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#3">三、进程对信号的响应</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#4">四、信号的发送</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#5">五、信号的安装(设置信号关联动作)</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#6">六、信号集及信号集操作函数:</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#7">七、信号阻塞与信号未决:</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#resources">参考资料
</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#author">关于作者</A></TD></TR>
<TR class=left-nav-child-highlight>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/cl-bullet.gif" width=2></TD>
<TD><A class=left-nav-child
href="http://www.ibm.com/developerworks/cn/linux/l-ipc/part2/index1.html#rate">对本文的评价</A></TD></TR>
<TR class=left-nav-last>
<TD width=14><IMG class=display-img height=1 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=14></TD>
<TD width=136><IMG class=display-img height=19 alt=""
src="Linux环境进程间通信(二) 信号(上).files/left-nav-corner.gif"
width=136></TD></TR></TBODY></TABLE><BR>
<TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD class=related colSpan=2><B class=related>相关链接:</B></TD></TR>
<TR class=rlinks>
<TD><IMG height=8 alt=""
src="Linux环境进程间通信(二) 信号(上).files/rl-bullet.gif" width=2></TD>
<TD><A class=rlinks
href="http://www.ibm.com/developerworks/cn/views/linux/articles.jsp">Linux
技术文档库</A></TD></TR><!--START RESERVED FOR FUTURE USE INCLUDE FILES--><!-- No content currently --><!--END RESERVED FOR FUTURE USE INCLUDE FILES-->
<TR>
<TD width=14><IMG class=display-img height=1 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=14></TD>
<TD width=136><IMG class=display-img height=19 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif"
width=136></TD></TR></TBODY></TABLE><!--START RESERVED FOR FUTURE USE INCLUDE FILES--><!-- No content currently --><!--END RESERVED FOR FUTURE USE INCLUDE FILES--></TD><!--LEFTNAV_END-->
<TD width="100%">
<TABLE id=content-table cellSpacing=0 cellPadding=0 width="100%"
border=0><TBODY>
<TR vAlign=top>
<TD width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR>
<TD><A name=main><IMG height=1 alt=跳转到主要内容
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=592
border=0></A></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD width=10 height=18><IMG height=18 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=10></TD>
<TD width="100%"><IMG height=6 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=1><BR><A
class=bctl
href="http://www.ibm.com/developerworks/cn/">developerWorks
中国</A><SPAN class=bct> > </SPAN><A
class=bctl
href="http://www.ibm.com/developerworks/cn/linux/">Linux</A><SPAN
class=bct> ></SPAN><IMG height=1 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=1><BR>
<H1><SPAN style="COLOR: #999999">Linux环境进程间通信(二):
</SPAN>信号(上)</H1><IMG class=display-img height=6 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=1></TD>
<TD class=no-print width=192><IMG height=18 alt=developerWorks
src="Linux环境进程间通信(二) 信号(上).files/dw.gif"
width=192></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
<TBODY>
<TR vAlign=top>
<TD width=10><IMG height=1 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=10></TD>
<TD width="100%">
<TABLE class=no-print cellSpacing=0 cellPadding=0 width=160
align=right border=0>
<TBODY>
<TR>
<TD width=10><IMG height=1 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=10></TD>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=150 border=0>
<TBODY>
<TR>
<TD class=v14-header-1-small>文档选项</TD></TR></TBODY></TABLE>
<TABLE class=v14-gray-table-border cellSpacing=0 cellPadding=0
border=0>
<TBODY>
<TR>
<TD class=no-padding width=150>
<TABLE cellSpacing=0 cellPadding=0 width=143
border=0><IMG height=1 alt=""
src="Linux环境进程间通信(二) 信号(上).files/c.gif" width=8>
<FORM name=email
action=https://www.ibm.com/developerworks/secure/email-it.jsp><INPUT
type=hidden
value=linux信号机制远远比想象的复杂,本文力争用最短的篇幅,对该机制做了深入细致的分析。读者可以先读一下信号应用实例(在信号(下)中),这样可以对信号发送直到相应的处理函数执行完毕这一过程有个大致的印象。本文尽量给出了较新函数的应用实例,着重说明这些的功能。
name=body><INPUT type=hidden
value="Linux环境进程间通信(二): 信号(上)" name=subject><INPUT
type=hidden value=cn name=lang>
<SCRIPT language=JavaScript type=text/javascript><!--document.write('<tr valign="top"><td width="8"><img src="//www.ibm.com/i/c.gif" width="8" height="1" alt=""/></td><td width="16"><img src="//www.ibm.com/i/v14/icons/em.gif" height="16" width="16" vspace="3" alt="将此页作为电子邮件发送" /></td><td width="122"><p><a class="smallplainlink" href="javascript:document.email.submit();"><b>将此页作为电子邮件发送</b></a></p></td></tr>');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -