Qualcomm interview question

Explain priority inversion, and how to avoid it