- 1、本文档共113页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
操作系统Chapter1-Introduction
* * * * * * * * * 文件是一种抽象机制,它提供了一种在磁盘上保留信息而且方便以后读取的方法。 * * * * * * * * * * * * * * * * * 1-3步:调用程序首先把参数压入堆栈。由于历史的原因,C及C++使用逆序(必须把第一个参数赋给printf,放在堆栈的顶部) 4步:对库过程的实际调用 5步:在可能是由汇编语言写成的库过程中,一般把系统调用的编号放在操作系统所期望的地方,如寄存器中,然后执行一个Trap指令,将用户态切换到内核态,并在内核中的一个固定地址开始执行。 * POSIX表示可移植操作系统接口:Portable Operating System Interface,缩写为 POSIX 是为了读音更像 UNIX 电气和电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)最初开发 POSIX 标准,是为了提高 UNIX 环境下应用程序的可移植性。然而,POSIX 并不局限于 UNIX。许多其它的操作系统,例如 DEC OpenVMS 和 Microsoft Windows NT,都支持 POSIX 标准 * 许多时候我们需要在一个进程中执行另一个程序,但又不想影响本进程的运行,那么可以创建一个子进程,然后再进行处理。 The reason the child’s process ID is returned to the parent is because a process can have more than one child, so there is no function that allows a process to obtain the process IDs of its children. The reason fork returns 0 to the child is because a process can have only a single parent, so the child can always call getppid to obtain the process ID of its parent. Process ID 0 is always in use by the swapper, so its not possible for 0 to be the process ID of a child. The child is a copy of the parent. For example, the child gets a copy of the parent’s data space, heap, and stack. Note that this is a copy for the child – the parent and child do not share these portions of memory. Often the parent and child share the text segment (code), if it is read-only. * * * * * * * * Single user Programmer/User as the operator Secure, but inefficient use of expensive resources Low CPU utilization-slow mechanical I/O devices * Amortize:缓冲 单道批处理 * OS/360 多道批处理,密歇根大学为ibm开发,商业上没有广泛使用,因为有很多错误。改进后成为os/390,获得了广泛应用,直到今天 * * Use disk as a very large buffer for input/output devices * 多道批处理系统的出现使计算机的效率(主要是吞吐率)大大提高。 分时系统:每个用户拥有一个终端显示器,只能接收和发送文本命令和信息。 * * * * * * * * * * * Company personnel management pyramid, the “workers” know all the information Human, the younger the faster, the older the richer * * * * * * * * * Operating System Structure (2) Figure 1-24. Simple structuring model for a monolithic system Operat
您可能关注的文档
最近下载
- 英语语法现在完成时优质公开课获奖课件.ppt VIP
- 20220511人文英语2试卷-41开放大学考试题库.docx
- 0401Z5教育领导与管理博士研究生培养方案-西南大学研究生院.doc
- 安全培训事故调查与根源分析ppt课件.pptx
- 图书馆考试专用图书馆学专业基础知识完美编辑版.doc
- 2023年营养师、营养指导员专业技能及理论知识考试题库(附含答案).doc VIP
- 统编版语文五年级上册《期末词句段专项复习》课件(共45张PPT).pptx VIP
- 2023年营养师、营养指导员专业技能及理论知识考试题库(附含答案).docx VIP
- 2025营养指导员考试真题库(含答案).doc VIP
- 2025营养指导员师岗位技能及理论知识考试题库(附含答案).doc VIP
文档评论(0)