Professional Documents
Culture Documents
Introduction
9.2
9.3
Delivery of messages
Whether sender should be blocked until delivery
What the order is in which messages are delivered to a
destination process
How exceptional conditions are handled
9.4
9.5
9.6
9.7
9.8
Remember that:
An event control block (ECB) has three fields:
Description of the anticipated event
Id of the process that awaits the event
An ECB pointer for forming ECB lists
#Sushanth KJ|Faculty,ECE|BIT, Mlore
9.9
9.10
Mailboxes
Mailbox: repository for interprocess messages
Has a unique name
Owner is typically the process that created it
Indirect naming
Only owner process can receive messages
Any process that knows name of a mailbox can send
messages to it
9.11
Mailboxes (continued)
9.12
Mailboxes (continued)
Kernel may require a process to explicitly connect to a
mailbox before starting to use it, and to disconnect
when it finishes using it
May permit owner to destroy it, transfer ownership, etc.
9.13
9.14
9.15
9.16
9.17
9.18
9.19
9.20
9.21
9.22
9.23
9.24
Summary
Message passing paradigm realizes exchange of
information among processes without using shared
memory
Useful in: microkernel-based OSs, clientserver
computing, higher-level communication protocols, and
parallel or distributed programs
Sender/receiver naming: symmetric, asymmetric,
indirect (mailbox)
Message passing is employed in higher-level protocols
such as SMTP, RPC, PVM, and MPI
9.25