Qualcomm Interview Question

What is priority inversion in OS, how it happens. How to avoid it.