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

Discussion

A task control block holds

  • A.the messages the task has yet to receive
  • B.the list of the interrupt sources the task is permitted to disable
  • C.the saved context, stack pointer, priority and state of a task
  • D.the code of the task, copied from flash into RAM

Answer: C

Everything the kernel needs to suspend and later resume the task lives there, which is why switching between tasks reduces to saving one block and restoring another. The code stays in flash and is shared by every invocation.

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

Post your comment

Please log in or register to post a comment.