4.4.2. Priority inversion#

Priority inversion

In a system where different tasks need exlusive acces to a resource, priority inversion can occure when a low priority task can cause a high priority task to be halted.

The two following videos will introduce priority inversion, and the probability of priority inversion can be reduced through priority inheritance.

Priority inversion

[Slides]

Priority inheritance

[Slides]

The following video demonstrates a priority inversion example in \(\mu\)C/OS-II.

[Slides]