
计算机操作系统大学本科课件
发送过程deposit (data)和接受过程 和接受过程remove 发送过程deposit (data)和接受过程remove (data)Pa:deposit(data) begin local x P(Bufempty) 按FIFO方式选择一个 方式选择一个 空缓冲Buf(x); 空缓冲 Buf(x)<--data Buf(x)置满标记 置满标记 V(Buffull) end Pb:remove(data) begin local x P(Buffull) 按FIFO方式选择一个 方式选择一个 装满数据的缓冲Buf(x) 装满数据的缓冲 data<--Buf(x) Buf(x)置空标记 置空标记 V(Bufempty) end
百度搜索“70edu”或“70教育网”即可找到本站免费阅读全部范文。收藏本站方便下次阅读,70教育网,提供经典教育范文第三章进程管理5(同步和互斥2)(4)在线全文阅读。
相关推荐: