# Is priority inheritance applied "retroactively"

**URL:** <https://forums.freertos.org/t/is-priority-inheritance-applied-retroactively/15865>\
**Category:** Kernel\
**Created:** [September 19, 2022, 4:22pm UTC](https://forums.freertos.org/t/is-priority-inheritance-applied-retroactively/15865 "2022-09-19T16:22:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![RAc](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rac/32/1389_2.png) [@RAc](https://forums.freertos.org/u/RAc)\
**Post date:** [September 19, 2022, 5:13pm UTC](https://forums.freertos.org/t/is-priority-inheritance-applied-retroactively/15865/3 "2022-09-19T17:13:51Z")

</div>

From what I understand, Richard Barry’s explanations from here still hold:

> [@Nested Mutexes and Priority Inheritance](https://forums.freertos.org/t/nested-mutexes-and-priority-inheritance/369/2):
>
> [rtel](https://sourceforge.net/u/rtel/) wrote on [Tuesday, March 23, 2010](https://sourceforge.net/p/freertos/discussion/382005/thread/0d68de4e/#58b9): Whether or not it will cause problems depends on the the priorities of the tasks holding the mutexes. The priority inheritance assumes that only one mutex will be held at a time.&nbsp; If two mutexes are held then the priority will be inherited to that of the highest task priority that is attempting to access the same mutex, but will be dropped back to the base priority when either mutex is returned.&nbsp; This could result in some priority inversion, but this won’…

---

_[View the full topic](https://forums.freertos.org/t/is-priority-inheritance-applied-retroactively/15865)._
