Question:

Which of the following enables indirect communication in IPC?

Show Hint

A mailbox in IPC enables indirect communication, allowing processes to send and receive messages asynchronously without direct interaction.
Updated On: Feb 6, 2025
  • Pipe
  • Shared memory
  • Link
  • Mailbox
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is D

Solution and Explanation


Step 1:
Understanding Interprocess Communication (IPC)
- IPC mechanisms allow processes to communicate and share data.
- Communication can be direct (process-to-process) or indirect (via an intermediary entity like a mailbox or message queue).
Step 2:
Indirect Communication in IPC
- In indirect communication, processes do not communicate directly.
- Instead, they send and receive messages via an intermediary such as a mailbox.
Step 3:
Evaluating the Options
- (A) Incorrect: Pipes enable direct communication between related processes.
- (B) Incorrect: Shared memory allows direct access to a common memory space.
- (C) Incorrect: A link establishes direct communication between processes.
- (D) Correct: Mailboxes enable indirect communication by storing messages that can be retrieved asynchronously.
Was this answer helpful?
0
0

Top Questions on Operating Systems

View More Questions