Which inter-process communication (IPC) method in UNIX allows processes to communicate via a synchronized shared memory segment?
15 views
- Pipes
- Message Queues
- Semaphores
- Shared Memory (Correct Answer)
Explanation
Shared memory allows multiple processes to access a common memory segment, providing fast IPC. Synchronization using semaphores or mutexes ensures consistency. Pipes and message queues involve data copying overhead.