Question

In: Computer Science

List two ways that inter -process communication is Achieved ?

List two ways that inter -process communication is Achieved ?

Solutions

Expert Solution

Answer)
The inter-process communication is the technique using which the processes communicate with other processes and thus synchronize their operations. The inter-process communication is the methods using which they co-operate. The inter-process communication can be done by:
a. Using shared memory - Using shared memory the processes can share information with each other and thus participate in the inter-process communication. The processes keep the computations or resources as the records in the memory and when other processes need to use that shared information then it will check the record stored in shared memory. Thus processes can store and deliver information as records using the shared memory.
b. Messaging Passing Method - In this process the process communication occurs without using any type of shared memory. In this method, the processes to communicate establish a communication link and start exchanging messages. Primitives will be such as:
send(message) and receive(message).
The message passing is the method using which the process can send the message to other processes using a direct or indirect approach. This method allows the multiple processes which are connected to read and write data using the message queue even if they are not connected to each other. The messages are firstly stored in the queue and then the receiver receives or retrieves the messages. The message-passing model is easier to implement and build and is more tolerant of high communication latency.


Related Solutions

1.What are the two fundamental models of inter-process communication?  What are the two system calls used with...
1.What are the two fundamental models of inter-process communication?  What are the two system calls used with message-passing systems? 2.How do processes communicate? What are blocking and non-blocking communication primitives? 3.Explain Remote Procedure Calls with the help of diagram. 4.Are function callback and inter-process communication same?
List and describe the steps in the communication process. In the context of the communication process,...
List and describe the steps in the communication process. In the context of the communication process, please also describe the potential barriers to effective communication. Lastly, please also present some techniques and approaches useful in overcoming these barriers to effective communication.
Write a program to demonstrate the implementation of Inter Process Communication (IPC) using shared memory. Single...
Write a program to demonstrate the implementation of Inter Process Communication (IPC) using shared memory. Single line text.
List and compare ways of evaluating wireless communication networks/systems.
List and compare ways of evaluating wireless communication networks/systems.
How important is communication in organizations? List and describe the five elements in the communication process...
How important is communication in organizations? List and describe the five elements in the communication process (Communicator, Message, Medium, Receiver and Feedback). Provide an example of each of these elements in the workplace. Please anwers in minimum 100 words.
List the cultural variables in the communication process and explain the different types of nonverbal communication
List the cultural variables in the communication process and explain the different types of nonverbal communication
In what ways can ecological democratization be achieved? Does our political system foster this process? If...
In what ways can ecological democratization be achieved? Does our political system foster this process? If so, what are some legislative actions and executive orders that support your view? Do we all have some responsibility to be good ecological citizens?
List three ways the nurse might adjust communication when conversing with an older adult. Explain.
List three ways the nurse might adjust communication when conversing with an older adult. Explain.
Discuss the elimination process of inter-company bond and lease.
Discuss the elimination process of inter-company bond and lease.
In a communication system, the transmission rate is 1Mbps, the two ways propagation delay is 1ms,...
In a communication system, the transmission rate is 1Mbps, the two ways propagation delay is 1ms, and the processing delay is negligible. Given the frame length of nf=1250 bytes, ACK frame and frame overhead of 25 bytes, please find the Stop&Wait ARQ protocol efficiency with channel bit error rate of 10^-5 .
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT