STMicroelectronics interview question

Q. What is priority inversion in RTOS? Q. What is the difference between mutex and a binary semaphore?