Question

List and explain the communication mechanism between sending and receiving process?  

List and explain the communication mechanism between sending and receiving process?  

Homework Answers

Answer #1

One way of communication using shared memory Processes

In shared memory processes we can use shared memory for extracting information as a record from another process as well as for delivering any specific information to other processes.

The other method is by the communication between processes via message passing. This method is opposite to the shared memory process as , processes communicate with each other without using any kind of shared memory. If two processes p1 and p2 want to communicate with each other, they proceed as follows:

  • They establish a communication link (if a link already exists, no need to establish it again.)
  • Start exchanging messages using basic primitives.
    For this we need at least two primitives:
    send(message, destinaion) or send(message)
    receive(message, host) or receive(message)

A standard message can have two parts: header and body.

The header part is used for storing message type, destination id, source id, message length, and control information. The control information contains information like what to do if runs out of buffer space, sequence number, priority. Generally, message is sent using FIFO style.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
A communication satellite is between two receiving towers. The angle of elevation from Tower A is...
A communication satellite is between two receiving towers. The angle of elevation from Tower A is 78.2 and from Tower B is 83.6 . The towers are 2140 m apart. How far is the communication satellite from each tower, to the nearest metre?
Briefly explain the difference between an assertive and an aggres-sive style of communication. 2 List three...
Briefly explain the difference between an assertive and an aggres-sive style of communication. 2 List three HCP-generated roadblocks to therapeutic communica-tion and explain why they are significant. Describe a clinical situa-tion in which such roadblocks may occur and explain how to resolve them. 3 List three patient-generated roadblocks to therapeutic communica-tion and explain why they are significant. Describe a clinical situa-tion in which such roadblocks may occur and explain how to resolve them.
Please list the possible applications of transformation optics and explain the mechanism.
Please list the possible applications of transformation optics and explain the mechanism.
What is the most ineffective communication you observed? Explain why using the Communication Process Model.
What is the most ineffective communication you observed? Explain why using the Communication Process Model.
Alpha value = .54 Alpha if item deleted Nonverbal skill-sending messages .51 Verbal skill-sending message .57...
Alpha value = .54 Alpha if item deleted Nonverbal skill-sending messages .51 Verbal skill-sending message .57 Nonverbal skill-receiving messages .42 Verbal skill-receiving messages .40 Acceptable Reliability? What items Should be Removed? Explain:
name two locations receiving blood from the anterior interventricular artery (AIVA) and sending blood into the...
name two locations receiving blood from the anterior interventricular artery (AIVA) and sending blood into the great cardiac vein.
1a. Explain the process of plastic deformation of metals by twinning b. List the forms in...
1a. Explain the process of plastic deformation of metals by twinning b. List the forms in which iron ores can exist with two examples each and their chemical composition c. State two principal ores with their chemical composition for these non ferrous metals: 1. Magnesium. 2. Copper d. List and describe two types of surface defect with appropriate diagram. e. Describe interstitial diffusion mechanism
list nursing consideration, safety measures, and teaching needs for patients receiving anesthetics. Explain your rationale for...
list nursing consideration, safety measures, and teaching needs for patients receiving anesthetics. Explain your rationale for all statements.
list three major protein degradtion mechanism present in eukaryotic cell identify the difference between them &their...
list three major protein degradtion mechanism present in eukaryotic cell identify the difference between them &their difference in kind of protein substrete to be degrade
On average, are you receiving more messages than sending back? A random sample of 56 students...
On average, are you receiving more messages than sending back? A random sample of 56 students shows the number of messages sent and received in one day. Numerical summaries for each variable and their difference are provided. Perform the test to check the claim that the number of messages received is higher than number of messages sent. Numerical summaries: mean: Recieved Sent Difference Mean 68.3 77.3 9 St. Dev 59.8 53.4 34.7 a. Explain, why the sample of differences between...