- 1、本文档共96页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
操作系统概念(英文)——3-13
Operating System Concepts- Chapter3 Processes - * Method1 programming the IP address and port number into client process. demerits Method2 dynamic binding by using matchmaker in server Name of Called procedure, e.g. X in Fig.3.12 matchmaker Port number of Called procedure, e.g. P in Fig.3.12 Appendix 3.B RPC过程(续) Operating System Concepts- Chapter3 Processes - * 2012年研究生入学考试计算机统考大纲要求 二 进程管理 (一)进程与线程 1. 进程概念 (§3.1) 2. 进程的状态与转换 (§3.1.2, Fig.3.2) 3. 进程控制(§3.2, §3.3) 4. 进程组织(§3.1.3, Fig.3.1) 5. 进程通信(§3.4) 共享存储系统;消息传递系统;管道通信 6. 线程概念与多线程模型(Chapter 5) * Operating System Concepts- Chapter3 Processes - * Indirect Communication (cont.) Procedure of communication between P and Q P, or Q, or other process creates a new mailbox A P and Q communicate via send(mail_A, message) and receive(mail_A, message) when communication is completed, mailbox A is destroyed Operating System Concepts- Chapter3 Processes - * Properties of communication links the link is established only if processes share a common mailbox a link may be associated with many processes, i.e., a mailbox is not specific to a particular pair of processes. each pair of processes may share several communication links. links may be unidirectional or bi-directional. Mailbox 2 P1 P3 Mailbox 1 P2 Indirect Communication (cont.) Operating System Concepts- Chapter3 Processes - * Mailbox sharing problem and its solutions (*知道*) Problem P1, P2, and P3 share mailbox A, when P1, sends, for P2 and P3, who will gets the message? Mailbox A P1 P2 P3 Indirect Communication (cont.) Operating System Concepts- Chapter3 Processes - * depends on the following strategies one link is permitted to be associated with at most two processes only one process at a time is permitted to to execute a receive operation system can select arbitrarily the receiver, but the sender must notified who is the receiver . Indirect Communication (cont.) Operating System Concepts- Chapter3 Processes - * 3.4.2.2 Synchroniza
文档评论(0)