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

Discussion

A design has 200 tasks on a part with 32 kB of RAM. The immediate concern is

  • A.the number of priority levels the kernel supports
  • B.the length of the kernel's own critical sections
  • C.the resolution of the kernel's system tick
  • D.the total stack requirement of the tasks

Answer: D

Correct answer: the total stack requirement of the tasks

Each task needs its own stack and its own control block, so 200 tasks consume a substantial part of 32 kB before a single buffer is allocated - a modest 128 bytes each would be 25 kB. The design almost certainly needs fewer tasks, which is the conclusion the arithmetic forces.

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

Post your comment

Please log in or register to post a comment.