Skip to content

Dependencies among tasks

Goals

  • You will learn about access to shared resources among tasks.
  • You will learn about priority inversion and different approaches used for preventing priority inversion.
  • You will learn and practice blocking time estimation for schedulability analysis.
  • You will learn and practice the use of mutexes in Keil RTX5.

Content

The present chapter aims at introducing the concept of shared resources, critical sections and resource access protocols. It covers:

  • Shared resources and critical sections concepts.
  • Priority inversion and blocking time.
  • Resource access protocols.
  • Keil RTX5 mutex.

Course Slides

Practice

In the related codelab, you will experience the use of Keil RTX5 mutexes. You will also implement examples that illustrate the priority inversion phenomenon and the resource access protocol implemented by Keil RTX5. A number of exercices related to mutexes and dependent tasks can also be found at Exercices - Dependent Tasks.