Explain priority inversion in an RTOS and describe two ways to prevent it in Benchmark Space Systems real-time software.