当前位置:高等教育资讯网  >  中国高校课件下载中心  >  大学文库  >  浏览文档

上海交通大学:《操作系统 Operating System》课程教学资源(课件讲稿)OS-process_Lec7

资源类别:文库,文档格式:PDF,文档页数:28,文件大小:557.68KB,团购合买
点击下载完整版文档(PDF)

OPERATING SYSTEMS 1 龚玲 lgong@sjtu.edu.cn

OPERATING SYSTEMS 龚玲 lgong@sjtu.edu.cn 1

CHAPTER 3:PROCESSES Operating System Concepts with Java-7th Edition,Nov 15,2006 Silberschatz,Galvin and Gagne 2007

Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 CHAPTER 3: PROCESSES

CHAPTER 3:PROCESSES o Process Concept o Process Scheduling o Operations on Processes o Cooperating Processes o Inter process Communication o Communication in Client-Server Systems

CHAPTER 3: PROCESSES  Process Concept  Process Scheduling  Operations on Processes  Cooperating Processes  Inter process Communication  Communication in Client-Server Systems

REVIEW o IPC(InterProcess Communication) ·independent(no ipc) ·cooperation(ipc) o information sharing o computation speedup o modularity o convenience 。IPC mechanism o shared memory o message passing ohttp://wenku.baidu.com/course/study/77fldcccda38376ba flfae94#665ea0c7aa00b52acfc7ca94

REVIEW  IPC(InterProcess Communication)  independent(no ipc)  cooperation(ipc)  information sharing  computation speedup  modularity  convenience  IPC mechanism  shared memory  message passing  http://wenku.baidu.com/course/study/77f1dcccda38376ba f1fae94#665ea0c7aa00b52acfc7ca94

INTERPOSES COMMUNICATION Message Passing Shared Memory process A M process A shared process B M process B 2 1 kernel kernel

INTERPOSES COMMUNICATION Message Passing Shared Memory

SHARED MEMORY o buffer ·unbounded buffer ·bounded buffer

SHARED MEMORY  buffer  unbounded buffer  bounded buffer

MESSAGE PASSING SYSTEM o two operations ·send ·receive o message size ·fixed 。variable o communication link ·physical o shared memory o hardware bus o network ·logical o direct/indirect o synchronous/asynchronous o automatic/explicit buffering

MESSAGE PASSING SYSTEM  two operations  send  receive  message size  fixed  variable  communication link  physical  shared memory  hardware bus  network  logical  direct/indirect  synchronous/asynchronous  automatic/explicit buffering

GOALS FOR TODAY o Communication in Client-Server Systems

GOALS FOR TODAY  Communication in Client-Server Systems

CLIENT-SERVER COMMUNICATION o Sockets o Remote Procedure Calls o Remote Method Invocation (Java)

CLIENT-SERVER COMMUNICATION  Sockets  Remote Procedure Calls  Remote Method Invocation (Java)

SOCKETS o A socket is defined as an endpoint for communication o Concatenation of IP address and port o The socket 161.25.19.8:1625 refers to port 1625 on host161.25.19.8 o Communication consists between a pair of sockets

SOCKETS  A socket is defined as an endpoint for communication  Concatenation of IP address and port  The socket 161.25.19.8:1625 refers to port 1625 on host 161.25.19.8  Communication consists between a pair of sockets

点击下载完整版文档(PDF)VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
共28页,试读已结束,阅读完整版请下载
相关文档

关于我们|帮助中心|下载说明|相关软件|意见反馈|联系我们

Copyright © 2008-现在 cucdc.com 高等教育资讯网 版权所有