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

Discussion

A task notification is a lighter mechanism than a semaphore because it

  • A.cannot be sent from an interrupt handler
  • B.is delivered only at the next system tick
  • C.is stored in the receiving task's own control block
  • D.carries no data of any kind

Answer: C

Nothing has to be created, and the send is a write into a field the task already owns, so it costs less time and less RAM than any separate object. The restriction is that it addresses one specific task rather than whoever happens to be waiting.

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

Post your comment

Please log in or register to post a comment.