(window.webpackJsonp=window.webpackJsonp||[]).push([[25],{296:function(t,a){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARMAAADvCAYAAADRjjBuAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAB9qSURBVHhe7Z1tjBXV/ceHf2IpoQlueYHYxKWuEUhfAJUqWCwrSV1840pig5gYQZPy8IbVFwKtzdZExaUmy9oUsEmzoK0LienWJq0CDYuCXaUSIIZujciDtd2SYrckNrS1yfznc3YOzt699+59mJk7D99PcnJn5t4798LOfO/v6fzOJNd1ex3HmeUNIYSolfOIyYC30Tq6L4QQNXH4//wNIYSoC4mJECIUJCZCiFCQmAghQkFiIoQIBYmJECIUJCZCiFCIpc7k8OHDzt/+9jfnT3/6k39klFmzZpmxaNEi54tf/KJ/VAiRQg5HJiZ79+519u/f7/T39zvz5893rrvuOmfOnDn+s6OcP3/ejJMnTzqtra3Ovffea8a1117rv0IIkRLCF5Nf/epXTkdHh7E2li9fXpE4/Pvf/3Zef/1189533nnHWbt2rTmHECI1hCcmuDBr1qxxZsyY4Wzfvt24L7WAO9TV1WXEpbe314iSECLxhCMmxEQ2b95sRCSsmx9xWr9+vbFS7r//fv+oECKh1C8mO3fudPbt22dclLBjHbg/q1evdmbPnu08+eST/lEhRAKpb6Lf7t27nTfeeMNYJlEETcnwEMj973//6zz77LP+USFEEqlZTN5++21nz549RlCiZuvWrSYwi/UjhEgmNYkJQVKyLQRI46oP4bOwTgprVYQQo5w9e9bfGi3NOHr0qL9XObW8x1KTmKxbt84EXGvN2NQCbtSuXbsUjBWZgZufm96ybds2f6t2brrpJvPIfUK8sRomTZrkvPzyy0ZQgsIEHNuwYYO/V5yqxYQCMwrNqB+JG4rfEDC5OyILvPLKK84TTzzh7znOfffdZ27oSqwDargKb/gbb7zRueuuu/w9Z8x2OfhMxocffujs2LHDWbJkidPS0nL1OOOOO+7wX12aqsXkhz/8oRmNotGfL0QYIASHDh1yzpw54x8ZFQPXdZ2nnnpqQiu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14),r=Object(n.a)({},(function(){var t=this,a=t._self._c;return a("ContentSlotsDistributor",{attrs:{"slot-key":t.$parent.slotKey}},[a("h1",{attrs:{id:"进程创建与进程间通信"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#进程创建与进程间通信"}},[t._v("#")]),t._v(" 进程创建与进程间通信")]),t._v(" "),a("h2",{attrs:{id:"本章导读"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#本章导读"}},[t._v("#")]),t._v(" 本章导读")]),t._v(" "),a("p",[t._v("通过练习理解进程创建以及进程并发执行的过程,握fork系统调用的方法,了解进程间通信的常用方法。")]),t._v(" "),a("h2",{attrs:{id:"实验内容"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#实验内容"}},[t._v("#")]),t._v(" 实验内容")]),t._v(" "),a("h3",{attrs:{id:"进程创建"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#进程创建"}},[t._v("#")]),t._v(" 进程创建")]),t._v(" "),a("p",[t._v("请问在下方的代码中,一共有多少个进程被创建?")]),t._v(" "),a("blockquote",[a("p",[t._v("可以通过fork返回的值来判断当前进程是子进程还是父进程。")])]),t._v(" "),a("div",{staticClass:"language-c extra-class"},[a("pre",{pre:!0,attrs:{class:"language-c"}},[a("code",[a("span",{pre:!0,attrs:{class:"token macro property"}},[a("span",{pre:!0,attrs:{class:"token directive-hash"}},[t._v("#")]),a("span",{pre:!0,attrs:{class:"token directive keyword"}},[t._v("include")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("")])]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token macro property"}},[a("span",{pre:!0,attrs:{class:"token directive-hash"}},[t._v("#")]),a("span",{pre:!0,attrs:{class:"token directive keyword"}},[t._v("include")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token string"}},[t._v("")])]),t._v("\n \n"),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("int")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("main")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("{")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("fork")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("fork")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("&&")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("fork")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token operator"}},[t._v("||")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("fork")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("fork")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token function"}},[t._v("sleep")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("(")]),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("100")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(")")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n "),a("span",{pre:!0,attrs:{class:"token keyword"}},[t._v("return")]),t._v(" "),a("span",{pre:!0,attrs:{class:"token number"}},[t._v("0")]),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v(";")]),t._v("\n"),a("span",{pre:!0,attrs:{class:"token punctuation"}},[t._v("}")]),t._v("\n")])])]),a("h3",{attrs:{id:"创建进程树"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#创建进程树"}},[t._v("#")]),t._v(" 创建进程树")]),t._v(" "),a("p",[t._v("编写程序创建进程树如图所示,在每个进程中显示当前进程标识getpid()和父进程标识getppid()。")]),t._v(" "),a("p",[a("img",{attrs:{src:s(296),alt:"图片1",title:"进程树"}})]),t._v(" "),a("h3",{attrs:{id:"信号通信"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#信号通信"}},[t._v("#")]),t._v(" 信号通信")]),t._v(" "),a("p",[t._v("用fork()创建两个子进程,再用系统调用signal()让父进程捕捉键盘上来的中断信号(即DEL键);当捕捉到中断信号后,父进程用系统调用kill()向两个子进程发出信号,子进程捕捉到信号后分别输出下列信息后终止:")]),t._v(" "),a("p",[t._v("Child process1 is killed by parent!")]),t._v(" "),a("p",[t._v("Child process2 is killed by parent!")]),t._v(" "),a("p",[t._v("父进程等待两个子进程终止后,输出如下的信息后终止:")]),t._v(" "),a("p",[t._v("Parent process is killed!")]),t._v(" "),a("h3",{attrs:{id:"管道通信"}},[a("a",{staticClass:"header-anchor",attrs:{href:"#管道通信"}},[t._v("#")]),t._v(" 管道通信")]),t._v(" "),a("p",[t._v("实现进程的管道通信,用系统调用pipe()建立一管道,二个子进程P1和P2分别向管道各写一句话:")]),t._v(" "),a("p",[t._v("Child 1 is sending a message!")]),t._v(" "),a("p",[t._v("Child 2 is sending a message!")]),t._v(" "),a("p",[t._v("父进程从管道中读出二个来自子进程的信息并显示。")])])}),[],!1,null,null,null);a.default=r.exports}}]);