Priority inheritance is a way to solve the problem called priority inversion.
The priority inversion problem is solved by priority inheritance:
This means than when H needs the resource held by L, L inherits H's priority (5) in order to release the resource sooner (6). When M gets ready to run, M has to wait until the currently higher prioritized task L releases the resource and H finishes running (7).