作業系統›Ch6 行程同步(Process Synchronization)
第 12 題/共 32 題
◀ OS 12/32
12. Message Passing、Mailbox、Port
#OS-06-012易Message PassingMailboxPort
題組題幹(本題:第25題,共 4 小題)點擊展開

Consider three processes P, Q, and R using message-passing for communications. Their behaviors are illustrated below. Let BS = blocking send, NS = nonblocking send, BR = blocking receive, and NR = nonblocking receive.

Process P:

...
send(Q, msg1)
receive(R, msg2)

Process Q:

...
send(R, msg3)
receive(P, msg4)

Process R:

...
send(P, msg5)
receive(Q, msg6)

Which data structure is needed to support this type of communications?

📄 交大112
跳轉到第題
▤完整推導請見《WH 資工筆記 · 作業系統》Ch6 行程同步(Process Synchronization)
本章題號 · 1–20 / 32