Home : Software Terms : IPC Definition

IPC

Stands for "Interprocess Communication." IPC is a feature of modern operating systems that enables processes to communicate with each other. It improves performance by allowing concurrent processes to share system resources efficiently.

The two primary methods of interprocess communication are memory sharing and message passing. Memory sharing involves indirect communication since the OS manages RAM usage and allocation. Message passing requires active communication between processes. For example, one process may request exclusive access to a specific resource, such as a file, from another process. Message passing is an effective way to ensure two applications do not access the same block of data at the same time.

When actively passing messages between processes, it is important to avoid deadlocks and race conditions. A deadlock may cause a process to become unresponsive, while a race condition may produce errors and unexpected results.

IPC Examples

Below are some common ways operating systems use interprocess communication:

  1. File access - limiting access to files on a local or remote storage device to one process at a time
  2. Network communication - ensuring data sent through a network socket does not overlap
  3. Shared memory - allowing mulitple processes to use the same block of memory, often through the use of a buffer that dynamically allocates free memory
  4. Signals - sending system messages to processes to notify them of an event, similar to an interrupt

Updated: July 21, 2021

Cite this definition:

https://techterms.com/definition/ipc

TechTerms - The Tech Terms Computer Dictionary

This page contains a technical definition of IPC. It explains in computing terminology what IPC means and is one of many software terms in the TechTerms dictionary.

All definitions on the TechTerms website are written to be technically accurate but also easy to understand. If you find this IPC definition to be helpful, you can reference it using the citation links above. If you think a term should be updated or added to the TechTerms dictionary, please email TechTerms!

Subscribe to the TechTerms Newsletter to get featured terms and quizzes right in your inbox. You can choose to receive either a daily or weekly email.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe at any time.
Questions? Please contact us.