Computer Science Engineering (CSE)  >  Operating System  >  Methods in Interprocess Communication

Methods in Interprocess Communication - Operating System - Computer Science Engineering (CSE)

Inter-process communication (IPC) is set of interfaces, which is usually programmed in order for the programs to communicate between series of processes. This allows running programs concurrently in an Operating System. These are the methods in IPC:

  1. Pipes (Same Process)
    This allows flow of data in one direction only. Analogous to simplex systems (Keyboard). Data from the output is usually buffered until input process receives it which must have a common origin.
  2. Names Pipes (Different Processes)
    This is a pipe with a specific name it can be used in processes that don’t have a shared common process origin. E.g. is FIFO where the details written to a pipe is first named.
  3. Message Queuing
    This allows messages to be passed between processes using either a single queue or several message queue. This is managed by system kernel these messages are coordinated using an API.
  4. Semaphores
    This is used in solving problems associated with synchronization and to avoid race condition. These are integer values which are greater than or equal to 0.
  5. Shared memory
    This allows the interchange of data through a defined area of memory. Semaphore values have to be obtained before data can get access to shared memory.
  6. Sockets
    This method is mostly used to communicate over a network between a client and a server. It allows for a standard connection which is computer and OS independent.
The document Methods in Interprocess Communication | Operating System - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Operating System.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
80 docs|33 tests
80 docs|33 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam
Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Download free EduRev App
Track your progress, build streaks, highlight & save important lessons and more!
Related Searches

practice quizzes

,

Free

,

past year papers

,

Sample Paper

,

Methods in Interprocess Communication | Operating System - Computer Science Engineering (CSE)

,

Semester Notes

,

study material

,

video lectures

,

Previous Year Questions with Solutions

,

Important questions

,

Objective type Questions

,

Extra Questions

,

pdf

,

ppt

,

Methods in Interprocess Communication | Operating System - Computer Science Engineering (CSE)

,

shortcuts and tricks

,

Viva Questions

,

Exam

,

Summary

,

MCQs

,

mock tests for examination

,

Methods in Interprocess Communication | Operating System - Computer Science Engineering (CSE)

;