Does RTOS support priority elevation? Example: if mutex was taken by priority 1 task and then priority 2 task tries to take it while task 1 still holds it, will RTOS elevate task 1 and let it finish and release mutex so task 2 can take this mutex?
Yes.