1. A method comprising: testing a priority inheritance variable associated with a task; and lowering a current priority of the task when testing the priority inheritance variable indicates that the task holds no resources that are involved in a priority inheritance.