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

Discussion

A cooperative kernel's chief weakness is that

  • A.it needs a separate stack for every task
  • B.one uncooperative task can block the whole system
  • C.it cannot support more than a handful of tasks
  • D.it requires a hardware timer to be dedicated to it

Answer: B

A task that loops without yielding starves everything else, and the latency of every other task becomes the longest run between yields anywhere in the system. In exchange, shared data is safe between yields, which greatly simplifies the code.

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

Post your comment

Please log in or register to post a comment.