Message Queues

1

Why Inter-Process Communication Is More Than Passing Data

8 minute

Process isolation solves an important problem: if one process corrupts its own memory, it usually does not directly corrupt another process.

But isolation creates another problem: two processes cannot share ordinary variables like two threads can. A pointer inside one process usually means nothing inside another process. Once a system is split into multiple processes, IPC, or inter-process communication, becomes necessary.

IPC is often understood as “send data from A to B.” That is only part of it.

Read More