Medium Operating Systems Processes & Threads
What are the different Inter-Process Communication (IPC) mechanisms?
Answer
IPC enables data exchange between processes. Mechanisms: Pipes (unidirectional byte stream, related processes), Named Pipes/FIFOs (unrelated processes), Message Queues (structured messages with priorities), Shared Memory (fastest, direct memory access, needs synchronization), Sockets (network or local communication), Signals (asynchronous notifications), Memory-mapped files (file as shared memory). Choice depends on data size, relationship between processes, and performance needs.
IIT Certified
Master These Concepts with IIT Certification
175+ hours of industry projects. Get placed at Bosch, Tata Motors, L&T and 500+ companies.
Relevant for Roles
Software Engineer Systems Developer Backend Developer