chap 07-2019F.pdf - Scheduling Chapter 7 Introduction Scheduler(also called the dispatcher a part of \u03bcC\/OS-III responsible for determining which task

chap 07-2019F.pdf - Scheduling Chapter 7 Introduction...

This preview shows page 1 - 4 out of 7 pages.

Scheduling Chapter 7
Image of page 1
Introduction } Scheduler (also called the dispatcher) } a part of μ C/OS-III responsible for determining which task runs next. } μ C/OS-III is a preemptive, priority-based kernel. } each task is assigned a priority based on its importance. } The priority for each task depends on the application, and μ C/OS-III supports multiple tasks at the same priority level. } preemptive } when an event occurs, and that event makes a more important task ready-to-run, then μ C/OS-III will immediately give control of the CPU to that task. } Thus, when a task signals or sends a message to a higher-priority task, the current task is suspended and the higher-priority task is given control of the CPU. } Similarly, if an Interrupt Service Routine (ISR) signals or sends a message to a higher priority task, when the message has been sent, the interrupted task remains suspended, and the new higher priority task resumes. Fall 2019 Scheduling 2
Image of page 2
7-1 Preemptive Scheduling } Direct method/Deferred post method Fall 2019 Scheduling 3 Preemptive scheduling - Direct method Preemptive scheduling – Deferred post method
Image of page 3
Image of page 4

You've reached the end of your free preview.

Want to read all 7 pages?

  • Fall '19
  • kim

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes
A+ icon
Ask Expert Tutors