top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What all core difference between direct and Indirect Inter-Process Communication?

+1 vote
731 views
What all core difference between direct and Indirect Inter-Process Communication?
posted Dec 29, 2015 by Kali Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Inter-Process Communication : Cooperating processes can communicate in a shared-memory environment. Cooperating processes communicate with each other via an Inter-Process-Communication (IPC) facility.

IPC provides a mechanism to allow processes to communicate and to synchronize their actions. Inter-Process Communication is best provided by a Message System. Message System can be defined in many different ways. An IPC facility provides at least the two operations - send(message) and receive(message).

Direct Communication : In the Direct Communication, each process that wants to communicate must explicitly name the recipient or sender of the communication. In this scheme, the send and receive primitives are defined as follows :

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

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

Indirect Communication : With Indirect Communication, the messages are sent

to and received from mailboxes. A mailbox can be viewed abstractly as, an object into which messages can be placed by processes and from which messages can be removed. The send and receive primitives are defined as follows :

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

Received (A, message) - Receive a message from mailbox A.

answer Dec 29, 2015 by Shivaranjini
Similar Questions
0 votes

Lets say I have windows 7.

This OS I can install on Core 2 duo, dual core, core i3 and so on.... even though number of cores and threads are different for different processor. Then How OS Schedules the process for it?

Even different processor have different architecture for reading and executing instruction, how OS takes care of it? I mean how OS prepares the instruction for it?

0 votes

Intel Core i3, Core i5, and may be Core i7 CPU have been there from last 1-2 years but I don't know the real difference between these. Can someone help me with the difference between these three so that I can decide which one to buy.

Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...