A guide to inter-process communication in Linux

Learn how processes synchronize with each other in Linux.

In this guide, you'll learn about the core concepts and mechanisms of inter-process communication (IPC) in Linux. Using code examples in C, this guide discusses the following mechanisms:
  • Shared files
  • Shared memory (with semaphores)
  • Pipes (named and unnamed)
  • Message queues
  • Sockets
  • Signals