Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What is IPC? What are the various schemes available in unix?

9 like 0 dislike
Hello
What is IPC? What are the various schemes available in unix?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by sr_webmaster (21,000 points)

1 Answer

1 like 0 dislike
 
Best answer
The term IPC (Inter-Process Communication) describes various ways by which different process running on some operating system communicate between each other. Various schemes available are as follows: Pipes:
One-way communication scheme through which different process can communicate. The problem is that the two processes should have a common ancestor (parent-child relationship). However this problem was fixed with the introduction of named-pipes (FIFO).
Message Queues :
Message queues can be used between related and unrelated processes running on a machine.
Shared Memory:
This is the fastest of all IPC schemes. The memory to be shared is mapped into the address space of the processes (that are sharing). The speed achieved is attributed to the fact that there is no kernel involvement. But this scheme needs synchronization.
Various forms of synchronisation are mutexes, condition-variables, read-write locks, record-locks, and semaphores.
answered 1 year ago by eagles11 (179,830 points)

Related questions

6 like 0 dislike
1 answer
9 like 0 dislike
1 answer
asked 1 year ago by eagles11 (179,830 points)
7 like 0 dislike
1 answer
5 like 0 dislike
1 answer
5 like 0 dislike
1 answer