Chapter 2

  1. Both of the above options.
  2. False.
  3. Complex super loops tend to have a large amount of variability in how long it takes them to execute the loop. This can lead to poor determinism in the system, since there is no easy way to provide a means for higher-priority work to take precedence over everything else happening in the loop.
  4. Interrupts and DMA can both be used to improve the response of super loops to external events. They allow hardware peripherals to be serviced without waiting to be polled during a super-loop cycle.
  5. There is only one super loop being run in the system. It shares the system stack. Tasks, however, each receive their own dedicated stack. Each task receives a priority, unlike a superloop, which has no inherent concept of prioritization.
  6. Prioritization.
  7. A preemptive scheduler attempts to ensure that the task with the highest priority is always the one executing.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.105.239