Explain direct or indirect communication, Computer Engineering

Assignment Help:

Explain Direct or Indirect Communication in Inter-process communication.

Several types of message passing system in Direct or Indirect Communication are given below:

With direct communication, each process which wants to communicate should explicitly name the recipient or sender of the communication. In such scheme, the send and receive primitives are explained as:

a. send(P, message)- Send a message to process P.

b. receive(Q, message)- Receive a message from process Q.

A communication link in this scheme has the subsequent properties:

a. A link is established automatically in between every pair of processes which want to communicate. The processes need knowing only each other's identity to communicate.

b. A link is connected with exactly two processes.

c. Exactly one link exists in between each pair of processes.

With indirect communication, the messages are sent to and received from ports or mailboxes. All mailboxes have identification of uniqueness. In such scheme, a process can communicate along with some other process via numerous type mailboxes. There are two processes can communicate only if they share a mailbox. Both send and receive primitives are explained as follows:

a. send (A, message)- Send a message to mailbox A

b. receive (A, message)- Receive a message from mailbox A.

In such scheme, a communication link has the subsequent properties

a. A link is established in between a pair of processes only if both members of the pair have a shared mailbox.

b. A link may be connected with more than two processes.

c. A number of different links may exist in between each pair of communicating processes, along with each link corresponding to one mailbox.


Related Discussions:- Explain direct or indirect communication

Shm, composition of two shm in right angles to each other to havingg time p...

composition of two shm in right angles to each other to havingg time period in the ratio 1:2

What are the steps involved in designing, Before getting into the design th...

Before getting into the design the designer should go by the SRS prepared by the System Analyst. The main tasks of design are Architectural Design & Detailed Design. In Arch

Multiple bus architecture - computer architecture, Multiple bus architectur...

Multiple bus architecture: One solution to the bandwidth restriction of a single bus is to simply add extra buses. Consider the architecture indicated in given figure that con

Free memory space to form contiguous block of free space, The OS of a compu...

The OS of a computer might be periodically collect all the free memory space to form contiguous block of free space.  Garbage collection

What is clock gating, What is Clock Gating? Clock gating is one of the...

What is Clock Gating? Clock gating is one of the power-saving methods used on several synchronous circuits with the Pentium four processors. To save power, clock gating consid

We declare a table control in the abap/4 program, How can we declare a tabl...

How can we declare a table control in the ABAP/4 program? Using the syntax controls type tableview using screen .

Define object oriented and structured development, How object oriented deve...

How object oriented development is dissimilar from structured development object oriented development is dissimilar from structured development of the system. In the structure

How to apply color and style, Q. How to Apply Color and Style? 1.  In f...

Q. How to Apply Color and Style? 1.  In first text description layout cell, select heading text from the word "Fly" through the word "Mountains." 2.  In Property inspector,

Explain about the various features present in ms access, Microsoft access h...

Microsoft access has vast advantages for a programmer and end user. Some of the advantages are ? Relative compatibility with SQL and VBA. ? Microsoft SQL server desktop engi

Explain usenet and newsgroups, Q. Explain Usenet and Newsgroups? In Int...

Q. Explain Usenet and Newsgroups? In Internet there exists another way to meet people and share information. One such way is through Usenet newsgroups. These are special groups

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd