- 12
- 0
- 约1.76万字
- 约 90页
- 2019-05-06 发布于广东
- 举报
Chapter 2 Processes and Scheduling (I) Contents Foundation:Process Description and Control Implement: Mutual Exclusion and Synchronization Avoidance: Deadlock(死锁) and Hungry(饥饿) Solution: Several Classical(经典) Problems About: Process Communications Policy: Process scheduling Process Description and Control (p101) Concurrence (vs.parallel) execution of processes (supplement(补充)) Process states and transition Process description(PCB) Process control(Primitive/Atomic) Serial Execution of Program Serial execution characteristics Sequence(顺序)、isolate(独立)、recurrence(再现) Concurrence execution characteristics discontinuity、no-isoloate、no-recurrence Bernstein condition R(P1) ∩W(P2)∪W(P1) ∩R(P2)∪W(P1) ∩W(P2) = {Φ} Some Problems for Process Management(p101) How to dispatch(分派) CPU to multi-processes How to allocate resource to multi-processes and avoid deadlock and hungry How to implement the process communication Process Concept(p60) A program in execution The “animated spirit” of a program The entity that can be assigned to and executed on a processor Process Characteristics(Supplement) Dynamic: create-dispatch-request I/O- redispatch(重分派)-exit Concurrence: Independence:Each process does not feel the existence of other processes. Discontinuity: Architecture of Process(p120) User data and program System stack PCB,Process Control Block Process States Concurrence execution of processes States of processes(2-states、5-states) Example of Concurrence Execution(p102) An example: Three processes are fully loaded in main memory. A small dispatcher program that moves the processor from one process to another. The first 12 instruction executed in processes A and C. Process B executes four instructions and the fourth instruction invokes(激发) an I/O operation for which the process must wait. Example Figure3.2,P103 Example Figure 3.3,P104 Two State Process Model(P104) Two states Running Not-running A new process enters into the not-r
您可能关注的文档
- 滁州学院计算机与信息工程学院计算机网络课件第1讲 计算机网络概述.ppt
- 滁州学院计算机与信息工程学院计算机网络课件第2讲 网络体系结构.ppt
- 滁州学院计算机与信息工程学院计算机网络课件第4讲 信道复用与数字传输技术.ppt
- 滁州学院计算机与信息工程学院计算机网络课件第6讲 数据链路层(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第7讲 局域网(1).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第8讲 局域网(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第9讲 局域网(3).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第11讲 网络层(2).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第12讲 网络层(3).ppt
- 滁州学院计算机与信息工程学院计算机网络课件第13讲 网络层(4).ppt
- 中国国家标准 GB/T 6675.9-2025玩具安全 第9部分:化学及类似活动的实验玩具.pdf
- 《GB/T 6675.9-2025玩具安全 第9部分:化学及类似活动的实验玩具》.pdf
- GB/T 46975-2025婴童用品 便携式婴儿睡篮技术要求.pdf
- 中国国家标准 GB/T 46975-2025婴童用品 便携式婴儿睡篮技术要求.pdf
- 《GB/T 46975-2025婴童用品 便携式婴儿睡篮技术要求》.pdf
- 《GB/T 6675.14-2025玩具安全 第14部分:指画颜料要求和测试方法》.pdf
- GB/T 6675.14-2025玩具安全 第14部分:指画颜料要求和测试方法.pdf
- 中国国家标准 GB/T 6675.14-2025玩具安全 第14部分:指画颜料要求和测试方法.pdf
- 中国国家标准 GB/T 33772.3-2025质量评定体系 第3部分:印制板及层压板最终产品检验及过程监督用抽样方案的选择和使用.pdf
- 《GB/T 33772.3-2025质量评定体系 第3部分:印制板及层压板最终产品检验及过程监督用抽样方案的选择和使用》.pdf
原创力文档

文档评论(0)