计算机操作系统课件(第三版)课后答案

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

5.?:6.?a.b.OSc.13.12,PCB3,4PCBd,14.AosBPCBPCBC.DEF15AB.C.D26.producer:beginrepeatproduceaniteminnextp;wait(mutex);wait(full);buffer(in):=nextp;signal(mutex);untilfalse;endconsumer:beginrepeatwait(mutex);wait(empty);nextc:=buffer(out);out:=out+1;signal(mutex);consumeiteminnextc;untilfalse;e36.OSOSOSOS37Abcd38..a.OSb.OSOSc.d.2.A:BC7A.B8EDFLLF15.18.a.b.c.:19/22.ProcessAllocationNeedAvailableP0003200121622P110001750P213542356P303320652P400140656P2Request(1222)P0P3P4P1P2WorkNeedAllocationWork+AllocationFinishP0P3P4P1P2162216541987199112991100120652065617502356003203330014100013541654198719911299113121417truetruetruetruetrueP2Request(1222)P204006.??a.b.15CPUPOS16.?a.b.018.a.:b..()c..26.FIFO432143543215M344321435432154441115553334442222233314444555511M=3M=4333344445222233331111222M=3FIFO975%M=4FIFO1083%Belady30CountCount1Count10.7.I/OI/OI/OI/ODMAI/OI/OI/OI/ODMAI/OI/OI/OI/OI/O18SPOOLing1/I/O23SPiSpoSPiSPo/I/O4I/OI/OI/O

1 / 5
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功