- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话: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. * * * * * * * * * * * * * * * * * Company personnel management pyramid, the “workers” know all the information Human, the younger the faster, the older the richer * * * * * * * * * * * * * * * * * * 文件是一种抽象机制,它提供了一种在磁盘上保留信息而且方便以后读取的方法。 * * * * Operating System Structure (8) Client-Server Model Moving most of the code up into the higher layers made the kernel to be minimal and only responsible for communication between clients and servers. Operating System Structure (9) Client-Server Model (ctd.) The operating system is collection of servers that provide specific services; e.g., file server, etc. Figure 1-27. The client-server model in a distributed system Operating System Structure (10) Client-Serve
您可能关注的文档
最近下载
- 冀少版(2025新版)七年级下册生物:第1~5章+期中+期末共6套学业评估测试卷(含答案).pdf VIP
- 《第二单元 生物的多样性》试卷及答案_初中生物七年级上册_冀少版_2024-2025学年.docx VIP
- 大学生期末个人学业总结.pptx
- 鞘注甲氨蝶呤阿糖胞苷引起患者截瘫的不良事 件调查.ppt VIP
- 大数据安全与隐私保护 习题答案 第1-9章 石瑞生.docx
- 瑞得全站仪RTS-822RM系列说明书.pdf VIP
- 鹦鹉可行性研究报告.docx VIP
- 鹦鹉人工驯养可行性报告.pptx VIP
- 5.2.2工业分布及发展--第二课时.ppt VIP
- 鞘注甲氨蝶呤阿糖胞苷引起患者截瘫的不良事件调查.ppt VIP
原创力文档


文档评论(0)