Machine-translated by Google. Questions are authored in English.
Top

Discussion

A mailbox differs from a message queue in holding

  • A.only pointers and never data
  • B.messages ordered by the priority of the sender
  • C.a single message
  • D.messages of several different sizes

Answer: C

It is a queue of length one, so a second send either blocks or overwrites depending on the kernel. Where only the most recent value matters, an overwriting mailbox is exactly right and a queue would accumulate stale readings.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.